Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDam_min|damLim.yOutDam_max|damLim.yRetDam_min|damLim.yRetDam_max|damLim.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDam_min|damLim.yOutDam_max|damLim.yRetDam_min|damLim.yRetDam_max|damLim.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001566/0.001566, allocations: 177.1 kB / 498.1 MB, free: 5.75 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.54/1.54, allocations: 223.2 MB / 0.7949 GB, free: 17.98 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.001114/0.001114, allocations: 95.95 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003983, allocations: 7.719 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3279, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.5218, allocations: 152.1 MB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5221, allocations: 87.86 kB / 1.372 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01468/0.5368, allocations: 6.136 MB / 1.378 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5369, allocations: 4 kB / 1.378 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.763e-05/0.5369, allocations: 8 kB / 1.378 GB, free: 3.777 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001228/0.5381, allocations: 0.6785 MB / 1.378 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5382, allocations: 8.031 kB / 1.378 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.5383, allocations: 47.44 kB / 1.378 GB, free: 2.996 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.5389, allocations: 354 kB / 1.379 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.539, allocations: 37 kB / 1.379 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.5391, allocations: 36 kB / 1.379 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.5399, allocations: 443.5 kB / 1.379 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.54, allocations: 0 / 1.379 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.54, allocations: 20 kB / 1.379 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.54, allocations: 8 kB / 1.379 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/0.5409, allocations: 335.8 kB / 1.379 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.5431, allocations: 1.304 MB / 1.381 GB, free: 380 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/0.5438, allocations: 314.7 kB / 1.381 GB, free: 52 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.5439, allocations: 4 kB / 1.381 GB, free: 48 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.5443, allocations: 206.2 kB / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.5443, allocations: 0 / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.0008946/0.5452, allocations: 406.9 kB / 1.382 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.5453, allocations: 132.5 kB / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.5457, allocations: 372.8 kB / 1.382 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.5458, allocations: 37.64 kB / 1.382 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.546, allocations: 216.9 kB / 1.382 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/0.546, allocations: 82.81 kB / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.5461, allocations: 0 / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5462, allocations: 358.7 kB / 1.383 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.5465, allocations: 99.95 kB / 1.383 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.5468, allocations: 170.3 kB / 1.383 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.547, allocations: 116 kB / 1.383 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.547, allocations: 0 / 1.383 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006154/0.5477, allocations: 319.7 kB / 1.383 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.339e-05/0.5478, allocations: 185.9 kB / 1.384 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5478, allocations: 0 / 1.384 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.5478, allocations: 4 kB / 1.384 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.5481, allocations: 59.91 kB / 1.384 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.5481, allocations: 4 kB / 1.384 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.5484, allocations: 51.66 kB / 1.384 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.5484, allocations: 8 kB / 1.384 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.5484, allocations: 4 kB / 1.384 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004211/0.5488, allocations: 232.1 kB / 1.384 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.5488, allocations: 0 / 1.384 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.5488, allocations: 4 kB / 1.384 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.5491, allocations: 51.91 kB / 1.384 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5491, allocations: 11.98 kB / 1.384 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.5493, allocations: 47.58 kB / 1.384 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.5493, allocations: 8 kB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,damLim.yEnaMinOut,damLim.and3.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002159/0.5495, allocations: 237.1 kB / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.5496, allocations: 35.53 kB / 1.384 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000661/0.5503, allocations: 333.1 kB / 1.385 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.5503, allocations: 12 kB / 1.385 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5503, allocations: 3.953 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5503, allocations: 7.922 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.5516, allocations: 0.9099 MB / 1.386 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.5516, allocations: 224 / 1.386 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.5518, allocations: 63.91 kB / 1.386 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5518, allocations: 0 / 1.386 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.5519, allocations: 8 kB / 1.386 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.5519, allocations: 4 kB / 1.386 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5519, allocations: 7.938 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.5529, allocations: 0.6817 MB / 1.386 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.553, allocations: 124.6 kB / 1.386 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.5531, allocations: 8 kB / 1.386 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.5533, allocations: 36.03 kB / 1.386 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.5534, allocations: 31.84 kB / 1.387 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.5534, allocations: 15.95 kB / 1.387 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003164/0.5537, allocations: 291.2 kB / 1.387 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5537, allocations: 0 / 1.387 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004807/0.5542, allocations: 127.5 kB / 1.387 GB, free: 9.711 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 2 ($whenCondition1,damLim.yEnaMinOut) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001753/0.5544, allocations: 135 kB / 1.387 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00079/0.5552, allocations: 384.4 kB / 1.387 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5552, allocations: 0 / 1.387 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.5555, allocations: 153.4 kB / 1.388 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.5561, allocations: 117.6 kB / 1.388 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.5575, allocations: 0.8104 MB / 1.388 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.5579, allocations: 0.8158 MB / 1.389 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.5581, allocations: 51.25 kB / 1.389 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.264e-05/0.5582, allocations: 35.44 kB / 1.389 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5582, allocations: 0 / 1.389 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of Templates: time 0.008936/0.5671, allocations: 3.903 MB / 1.393 GB, free: 3.309 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_VOut_flow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches