Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 113.7 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 189.1 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.75 kB / 0.8708 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3083, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002212/0.3105, allocations: 1.009 MB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3116, allocations: 0.9713 MB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.3117, allocations: 4 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.615e-05/0.3118, allocations: 23.73 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.829e-05/0.3119, allocations: 19.75 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.3121, allocations: 67.86 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3122, allocations: 156.1 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.3125, allocations: 96.14 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3126, allocations: 67.72 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3127, allocations: 79.61 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.3127, allocations: 16 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.3128, allocations: 16 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.3128, allocations: 35.91 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.3129, allocations: 75.55 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.3131, allocations: 211.2 kB / 1.022 GB, free: 6.969 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3131, allocations: 0 / 1.022 GB, free: 6.969 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3131, allocations: 0 / 1.022 GB, free: 6.969 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.3131, allocations: 0 / 1.022 GB, free: 6.969 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006318/0.3138, allocations: 455.1 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3138, allocations: 12.86 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.3139, allocations: 20.69 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.3143, allocations: 254 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3143, allocations: 16.59 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3143, allocations: 12.38 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.3147, allocations: 145 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3147, allocations: 192 / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.3147, allocations: 11.94 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3147, allocations: 4 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.315, allocations: 108.8 kB / 1.023 GB, free: 5.859 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.3157, allocations: 480 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.316, allocations: 106.6 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.3161, allocations: 48.83 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3161, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3162, allocations: 34.56 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.3162, allocations: 0 / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0005146/0.3167, allocations: 169.4 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.3167, allocations: 55.34 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3169, allocations: 157.5 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3169, allocations: 29.7 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.317, allocations: 120.2 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.317, allocations: 35.53 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.3171, allocations: 37.7 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3172, allocations: 326.8 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3173, allocations: 39.97 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3175, allocations: 74.89 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.3177, allocations: 111.7 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3178, allocations: 0 / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003443/0.3181, allocations: 161.2 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3181, allocations: 4 kB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.3181, allocations: 0 / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3182, allocations: 4 kB / 1.025 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.3183, allocations: 23.97 kB / 1.025 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3183, allocations: 4 kB / 1.025 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.966e-05/0.3184, allocations: 12.08 kB / 1.025 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3185, allocations: 4 kB / 1.025 GB, free: 3.711 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.y,actAirSet.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.y,actAirSet.or3.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.3186, allocations: 134.4 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.3186, allocations: 19.8 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.3187, allocations: 16.7 kB / 1.025 GB, free: 3.535 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3187, allocations: 4 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3187, allocations: 3.938 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3187, allocations: 0 / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.3189, allocations: 233.5 kB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.319, allocations: 3.984 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.3191, allocations: 19.98 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3191, allocations: 3.938 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3191, allocations: 0 / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3191, allocations: 0 / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3191, allocations: 0 / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.3195, allocations: 235.3 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.3195, allocations: 88.92 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.3196, allocations: 0 / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3197, allocations: 11.98 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.3198, allocations: 19.97 kB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3198, allocations: 0 / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.058e-05/0.3198, allocations: 111.2 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3199, allocations: 4 kB / 1.025 GB, free: 2.727 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003389/0.3202, allocations: 27.84 kB / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.3204, allocations: 113.7 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.3208, allocations: 107.8 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3208, allocations: 0 / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.3209, allocations: 60.09 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3212, allocations: 12 kB / 1.026 GB, free: 2.406 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.3218, allocations: 264.7 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.3221, allocations: 0.7157 MB / 1.027 GB, free: 1.379 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.3223, allocations: 16.64 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.3224, allocations: 19.44 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.3224, allocations: 0 / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of Templates: time 0.004114/0.3265, allocations: 1.229 MB / 1.028 GB, free: 160 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches