Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.yOutDamPos|mod.yRetDamPos|mod.yHeaCoi|mod.THeaSupSet|mod.TSup",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.yOutDamPos|mod.yRetDamPos|mod.yHeaCoi|mod.THeaSupSet|mod.TSup",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001086/0.001086, allocations: 189.2 kB / 498.1 MB, free: 5.73 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.536/1.536, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0009337/0.0009336, allocations: 102.6 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 10.41 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3217, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/0.6038, allocations: 151.6 MB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.6041, allocations: 79.94 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02145/0.6256, allocations: 5.842 MB / 1.377 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.935e-06/0.6257, allocations: 0 / 1.377 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.568e-05/0.6257, allocations: 15.92 kB / 1.377 GB, free: 4.398 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001947/0.6277, allocations: 0.6626 MB / 1.377 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.493e-05/0.6278, allocations: 8.219 kB / 1.377 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.6281, allocations: 47.44 kB / 1.378 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.6292, allocations: 383.7 kB / 1.378 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.6293, allocations: 33 kB / 1.378 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.6295, allocations: 40 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.6308, allocations: 434.1 kB / 1.378 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.6308, allocations: 0 / 1.378 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/0.6309, allocations: 20 kB / 1.378 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.631, allocations: 11.94 kB / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.6322, allocations: 343.8 kB / 1.379 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00326/0.6355, allocations: 1.289 MB / 1.38 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.6365, allocations: 299.5 kB / 1.38 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.6366, allocations: 4 kB / 1.38 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000434/0.637, allocations: 219.8 kB / 1.38 GB, free: 468 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.465e-06/0.637, allocations: 0 / 1.38 GB, free: 468 kB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.000892/0.6379, allocations: 390.3 kB / 1.381 GB, free: 72 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.638, allocations: 158.2 kB / 1.381 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.6385, allocations: 364.8 kB / 1.381 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.6385, allocations: 29.7 kB / 1.381 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.6388, allocations: 216.4 kB / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.6389, allocations: 86.81 kB / 1.382 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.6389, allocations: 8 kB / 1.382 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.6391, allocations: 350.8 kB / 1.382 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.6394, allocations: 107.9 kB / 1.382 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.6398, allocations: 174.8 kB / 1.382 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.6401, allocations: 133 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6402, allocations: 0 / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008215/0.641, allocations: 333.1 kB / 1.383 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.6412, allocations: 279 kB / 1.383 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6412, allocations: 0 / 1.383 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/0.6413, allocations: 4 kB / 1.383 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.6416, allocations: 59.91 kB / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.6416, allocations: 0 / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.642, allocations: 71.56 kB / 1.383 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.642, allocations: 4 kB / 1.383 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.642, allocations: 5.719 kB / 1.383 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005475/0.6426, allocations: 247.9 kB / 1.383 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6426, allocations: 3.953 kB / 1.383 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.6426, allocations: 7.922 kB / 1.383 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.6429, allocations: 55.92 kB / 1.383 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.6429, allocations: 7.938 kB / 1.383 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.6432, allocations: 59.59 kB / 1.384 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.6433, allocations: 8 kB / 1.384 GB, free: 13.24 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.000392/0.6437, allocations: 237.1 kB / 1.384 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.6437, allocations: 35.53 kB / 1.384 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008834/0.6446, allocations: 335.6 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.6447, allocations: 8 kB / 1.384 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.6447, allocations: 0 / 1.384 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.6447, allocations: 3.984 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.6463, allocations: 0.8773 MB / 1.385 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6463, allocations: 0 / 1.385 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.6466, allocations: 55.97 kB / 1.385 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.6466, allocations: 0 / 1.385 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.6467, allocations: 7.984 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.946e-06/0.6467, allocations: 4 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.6467, allocations: 3.938 kB / 1.385 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.6479, allocations: 0.5808 MB / 1.386 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.6481, allocations: 128.6 kB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.6482, allocations: 8 kB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.6484, allocations: 27.98 kB / 1.386 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.736e-05/0.6485, allocations: 19.92 kB / 1.386 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.6486, allocations: 20 kB / 1.386 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004229/0.649, allocations: 283.2 kB / 1.386 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.31e-07/0.649, allocations: 0 / 1.386 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006234/0.6497, allocations: 127.6 kB / 1.386 GB, free: 10.37 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002813/0.6499, allocations: 127 kB / 1.386 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.651, allocations: 401.1 kB / 1.387 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.651, allocations: 4 kB / 1.387 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.6513, allocations: 123.8 kB / 1.387 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.652, allocations: 84.25 kB / 1.387 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.6539, allocations: 0.7854 MB / 1.388 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006144/0.6545, allocations: 0.8117 MB / 1.388 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002834/0.6548, allocations: 47.27 kB / 1.388 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.6549, allocations: 35.44 kB / 1.389 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of SimCode: time 8.02e-07/0.6549, allocations: 0 / 1.389 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of Templates: time 0.009769/0.6647, allocations: 3.734 MB / 1.392 GB, free: 4.242 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches