Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSupSet.uZonTemResReq|conTSupSet.u1SupFan|conTSupSet.uOpeMod|conTSupSet.maxSupTemRes.y|conTSupSet.TOut|conTSupSet.TAirSupSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSupSet.uZonTemResReq|conTSupSet.u1SupFan|conTSupSet.uOpeMod|conTSupSet.maxSupTemRes.y|conTSupSet.TOut|conTSupSet.TAirSupSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.406/2.406, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 184.8 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009754, allocations: 87.95 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.095e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2748, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.364, allocations: 153.7 MB / 1.362 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/1.364, allocations: 82.47 kB / 1.363 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.029/1.393, allocations: 11.73 MB / 1.374 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.674e-06/1.393, allocations: 0 / 1.374 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.383e-05/1.393, allocations: 15.41 kB / 1.374 GB, free: 32.55 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001389/1.395, allocations: 0.8835 MB / 1.375 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.395, allocations: 7.875 kB / 1.375 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/1.395, allocations: 91.14 kB / 1.375 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/1.395, allocations: 466.7 kB / 1.375 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/1.395, allocations: 33.33 kB / 1.375 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/1.395, allocations: 48.58 kB / 1.376 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000713/1.396, allocations: 429.2 kB / 1.376 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007663/1.397, allocations: 481.1 kB / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/1.397, allocations: 0 / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/1.397, allocations: 5.859 kB / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/1.397, allocations: 15.53 kB / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002589/1.4, allocations: 1.796 MB / 1.378 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/1.4, allocations: 488.5 kB / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/1.401, allocations: 181.2 kB / 1.379 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-05/1.401, allocations: 14.27 kB / 1.379 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005132/1.401, allocations: 334.4 kB / 1.379 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 1.773e-06/1.401, allocations: 0 / 1.379 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0007451/1.402, allocations: 459.4 kB / 1.38 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/1.402, allocations: 140.8 kB / 1.38 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/1.402, allocations: 371.8 kB / 1.38 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/1.403, allocations: 29.55 kB / 1.38 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/1.403, allocations: 309.6 kB / 1.38 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.443e-05/1.403, allocations: 148.6 kB / 1.381 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/1.403, allocations: 3.906 kB / 1.381 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.403, allocations: 367.1 kB / 1.381 GB, free: 30 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/1.403, allocations: 161.9 kB / 1.381 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/1.404, allocations: 275.7 kB / 1.381 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/1.404, allocations: 205.5 kB / 1.381 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.404, allocations: 0 / 1.381 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008842/1.405, allocations: 0.5287 MB / 1.382 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/1.405, allocations: 42.41 kB / 1.382 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/1.405, allocations: 0 / 1.382 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.405, allocations: 7.406 kB / 1.382 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/1.405, allocations: 108.9 kB / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.405, allocations: 7.781 kB / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/1.406, allocations: 105.3 kB / 1.382 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/1.406, allocations: 29.61 kB / 1.382 GB, free: 29.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.conTSupSet.maxSupTemRes.tim.u,$PRE.conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.maxSupTemRes.sampler.firstTrigger,$whenCondition6,$whenCondition7,$whenCondition1,$PRE.conTSupSet.maxSupTemRes.tim.t_next,$whenCondition4,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition5,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.lesThr1.y,conTSupSet.maxSupTemRes.greThr2.y,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,$PRE.conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.intEqu.y,$PRE.supFanSta.y,supFanSta.y,conTSupSet.maxSupTemRes.greThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/1.406, allocations: 137.1 kB / 1.382 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/1.406, allocations: 54.25 kB / 1.382 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006917/1.407, allocations: 484.7 kB / 1.383 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.407, allocations: 7.656 kB / 1.383 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.407, allocations: 0 / 1.383 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.407, allocations: 3.906 kB / 1.383 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/1.408, allocations: 1.397 MB / 1.384 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.408, allocations: 0 / 1.384 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/1.409, allocations: 72.64 kB / 1.384 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/1.409, allocations: 3.906 kB / 1.384 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/1.409, allocations: 11.3 kB / 1.384 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.409, allocations: 0 / 1.384 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.409, allocations: 11.8 kB / 1.384 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/1.41, allocations: 0.5938 MB / 1.385 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/1.41, allocations: 130.3 kB / 1.385 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/1.41, allocations: 7.859 kB / 1.385 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/1.41, allocations: 50.64 kB / 1.385 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.41, allocations: 60.56 kB / 1.385 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/1.41, allocations: 21.5 kB / 1.385 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002303/1.41, allocations: 256.2 kB / 1.385 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.41, allocations: 0 / 1.385 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004655/1.411, allocations: 143.3 kB / 1.386 GB, free: 28.01 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 29 (conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.intEqu.y,supFanSta.y,conTSupSet.maxSupTemRes.lesThr1.y,conTSupSet.maxSupTemRes.greThr2.y) * Number of discrete states: 2 (conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002235/1.411, allocations: 141.5 kB / 1.386 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006548/1.412, allocations: 0.4914 MB / 1.386 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.412, allocations: 0.75 kB / 1.386 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/1.412, allocations: 259.4 kB / 1.386 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/1.413, allocations: 50.05 kB / 1.387 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/1.414, allocations: 0.7135 MB / 1.387 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/1.414, allocations: 0.9053 MB / 1.388 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002185/1.414, allocations: 62.08 kB / 1.388 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/1.414, allocations: 53.16 kB / 1.388 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of SimCode: time 1.372e-06/1.414, allocations: 0 / 1.388 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of Templates: time 0.008518/1.423, allocations: 5.019 MB / 1.393 GB, free: 24.21 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches