Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDamPosMin|damLim.yOutDamPosMax|damLim.yRetDamPosMin|damLim.yRetDamPosMax|damLim.damLimCon.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow") translateModel(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDamPosMin|damLim.yOutDamPosMax|damLim.yRetDamPosMin|damLim.yRetDamPosMax|damLim.damLimCon.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.474/2.474, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001514/0.001514, allocations: 175 kB / 0.4902 GB, free: 2.234 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.799/1.799, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001003/0.001003, allocations: 96.33 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003886, allocations: 14.38 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.323, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.5262, allocations: 154 MB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5265, allocations: 91.91 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01812/0.5446, allocations: 6.681 MB / 1.386 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5447, allocations: 0 / 1.386 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.881e-05/0.5447, allocations: 8 kB / 1.386 GB, free: 8.594 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001766/0.5465, allocations: 0.6899 MB / 1.387 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 8.072e-05/0.5466, allocations: 12.55 kB / 1.387 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.5468, allocations: 59.34 kB / 1.387 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007877/0.5476, allocations: 358.1 kB / 1.387 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.5477, allocations: 33 kB / 1.387 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.5478, allocations: 47.94 kB / 1.387 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.5492, allocations: 458.2 kB / 1.388 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.5493, allocations: 3.938 kB / 1.388 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.5493, allocations: 20 kB / 1.388 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.5494, allocations: 8 kB / 1.388 GB, free: 6.82 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.5507, allocations: 355.8 kB / 1.388 GB, free: 6.477 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003632/0.5543, allocations: 1.379 MB / 1.39 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.5557, allocations: 325.3 kB / 1.39 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.5557, allocations: 4 kB / 1.39 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007537/0.5565, allocations: 203.9 kB / 1.39 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=27): time 3.727e-06/0.5565, allocations: 0 / 1.39 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27): time 0.001637/0.5582, allocations: 413.8 kB / 1.391 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.5583, allocations: 140.5 kB / 1.391 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/0.5592, allocations: 393 kB / 1.391 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.5593, allocations: 33.7 kB / 1.391 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.5596, allocations: 228.5 kB / 1.391 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.5597, allocations: 82.72 kB / 1.391 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.5597, allocations: 8 kB / 1.391 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.56, allocations: 350.8 kB / 1.392 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.5605, allocations: 115.9 kB / 1.392 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.561, allocations: 165.8 kB / 1.392 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.5616, allocations: 120.5 kB / 1.392 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5616, allocations: 0 / 1.392 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001104/0.5627, allocations: 338 kB / 1.392 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.5628, allocations: 186 kB / 1.393 GB, free: 1.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5629, allocations: 0 / 1.393 GB, free: 1.871 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.5629, allocations: 0 / 1.393 GB, free: 1.871 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.5634, allocations: 59.91 kB / 1.393 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.5635, allocations: 7.984 kB / 1.393 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.5639, allocations: 67.5 kB / 1.393 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.564, allocations: 7.953 kB / 1.393 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.564, allocations: 4 kB / 1.393 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008412/0.5649, allocations: 239.9 kB / 1.393 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.5649, allocations: 0 / 1.393 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-06/0.5649, allocations: 0 / 1.393 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.5653, allocations: 51.97 kB / 1.393 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.5653, allocations: 4 kB / 1.393 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.5658, allocations: 55.64 kB / 1.393 GB, free: 1.383 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.5658, allocations: 7.984 kB / 1.393 GB, free: 1.375 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: 5 ($whenCondition1,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * 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.0004491/0.5663, allocations: 237.1 kB / 1.393 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.5664, allocations: 51.36 kB / 1.393 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.5676, allocations: 345.9 kB / 1.394 GB, free: 0.7344 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5676, allocations: 4 kB / 1.394 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.5676, allocations: 0 / 1.394 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.5677, allocations: 7.984 kB / 1.394 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.57, allocations: 0.9437 MB / 1.395 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.57, allocations: 0 / 1.395 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.5705, allocations: 68.16 kB / 1.395 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.5705, allocations: 4 kB / 1.395 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.5706, allocations: 7.984 kB / 1.395 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.5706, allocations: 11.88 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.5706, allocations: 4 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.5725, allocations: 0.7228 MB / 1.395 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.5728, allocations: 128.6 kB / 1.396 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-05/0.5728, allocations: 8 kB / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.5733, allocations: 43.98 kB / 1.396 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5734, allocations: 23.97 kB / 1.396 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.5734, allocations: 12 kB / 1.396 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006484/0.5741, allocations: 303.2 kB / 1.396 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5741, allocations: 0 / 1.396 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009186/0.5751, allocations: 139.6 kB / 1.396 GB, free: 14.13 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 3 ($whenCondition1,damLim.and3.y,damLim.and2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002677/0.5753, allocations: 119.1 kB / 1.396 GB, free: 14 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.577, allocations: 399.6 kB / 1.397 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.577, allocations: 0 / 1.397 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.5776, allocations: 148.2 kB / 1.397 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5787, allocations: 121.7 kB / 1.397 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.5813, allocations: 0.8526 MB / 1.398 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.582, allocations: 0.827 MB / 1.398 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003416/0.5824, allocations: 51.23 kB / 1.398 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.5825, allocations: 35.44 kB / 1.399 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of SimCode: time 1.563e-06/0.5826, allocations: 0 / 1.399 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of Templates: time 0.01639/0.599, allocations: 4.035 MB / 1.402 GB, free: 7.551 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches