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_LoopDisable.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_LoopDisable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fanSta.y|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDam_min|damLim.yOutDam_max|damLim.yRetDam_min|damLim.yRetDam_max|damLim.damLimCon.y|opeMod1.y|VOutMinSet1_flow.y|VOut1_flow.y|damLim1.yOutDam_min|damLim1.yOutDam_max|damLim1.yRetDam_min|damLim1.yRetDam_max|damLim1.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fanSta.y|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDam_min|damLim.yOutDam_max|damLim.yRetDam_min|damLim.yRetDam_max|damLim.damLimCon.y|opeMod1.y|VOutMinSet1_flow.y|VOut1_flow.y|damLim1.yOutDam_min|damLim1.yOutDam_max|damLim1.yRetDam_min|damLim1.yRetDam_max|damLim1.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.548/2.548, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001711/0.001711, allocations: 177.3 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.44/1.44, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0008788/0.0008788, allocations: 100.3 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 9.625 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2694, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.448, allocations: 152.2 MB / 1.372 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4483, allocations: 87.86 kB / 1.372 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02845/0.4768, allocations: 11.74 MB / 1.383 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4768, allocations: 0 / 1.383 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.295e-05/0.4769, allocations: 20 kB / 1.383 GB, free: 13.88 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: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.001678/0.4786, allocations: 1.036 MB / 1.384 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4786, allocations: 8.031 kB / 1.384 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.4788, allocations: 102.8 kB / 1.384 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/0.4797, allocations: 0.5725 MB / 1.385 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.552e-05/0.4798, allocations: 58 kB / 1.385 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.4799, allocations: 80 kB / 1.385 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.4814, allocations: 0.8228 MB / 1.386 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.4814, allocations: 7.938 kB / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.4815, allocations: 36 kB / 1.386 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.4815, allocations: 20 kB / 1.386 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.4828, allocations: 0.6559 MB / 1.387 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.4863, allocations: 2.452 MB / 1.389 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.4876, allocations: 0.6078 MB / 1.39 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.4877, allocations: 9.375 kB / 1.39 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007244/0.4884, allocations: 381.8 kB / 1.39 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 2.786e-06/0.4884, allocations: 0 / 1.39 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.001553/0.49, allocations: 0.7528 MB / 1.391 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/0.4901, allocations: 239.3 kB / 1.391 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.4908, allocations: 0.6012 MB / 1.391 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.4909, allocations: 37.7 kB / 1.391 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.4911, allocations: 368.6 kB / 1.392 GB, free: 4.754 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.4913, allocations: 169.5 kB / 1.392 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.4913, allocations: 8 kB / 1.392 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4914, allocations: 326 kB / 1.392 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.4919, allocations: 213 kB / 1.393 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.4925, allocations: 329.9 kB / 1.393 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.4929, allocations: 225.1 kB / 1.393 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4929, allocations: 11.95 kB / 1.393 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001101/0.494, allocations: 0.5993 MB / 1.394 GB, free: 2.844 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.4943, allocations: 0.5384 MB / 1.394 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4943, allocations: 0 / 1.394 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4943, allocations: 4 kB / 1.394 GB, free: 2.262 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.4948, allocations: 119.8 kB / 1.394 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4948, allocations: 8 kB / 1.394 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/0.4953, allocations: 111.2 kB / 1.394 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.4953, allocations: 20 kB / 1.394 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.4953, allocations: 4 kB / 1.394 GB, free: 2.004 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008982/0.4962, allocations: 460.2 kB / 1.395 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4963, allocations: 4 kB / 1.395 GB, free: 1.551 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.792e-06/0.4963, allocations: 7.938 kB / 1.395 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.4967, allocations: 107.8 kB / 1.395 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.4967, allocations: 4 kB / 1.395 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.4971, allocations: 91.42 kB / 1.395 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.4971, allocations: 16 kB / 1.395 GB, free: 1.328 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,damLim1.yEnaMinOut,damLim1.and3.u2,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 (60): * Single equations (assignments): 60 * 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.0003836/0.4975, allocations: 304.7 kB / 1.395 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.4976, allocations: 79.05 kB / 1.395 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.4989, allocations: 0.6132 MB / 1.396 GB, free: 332 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.4989, allocations: 11.95 kB / 1.396 GB, free: 320 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4989, allocations: 0 / 1.396 GB, free: 320 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4989, allocations: 3.984 kB / 1.396 GB, free: 316 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.5013, allocations: 1.678 MB / 1.398 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5013, allocations: 4 kB / 1.398 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.5018, allocations: 128.2 kB / 1.398 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.5018, allocations: 4 kB / 1.398 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.5019, allocations: 16 kB / 1.398 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.5019, allocations: 11.98 kB / 1.398 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5019, allocations: 7.938 kB / 1.398 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.5038, allocations: 1.327 MB / 1.399 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.504, allocations: 176 kB / 1.399 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.5041, allocations: 16 kB / 1.399 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.5045, allocations: 67.95 kB / 1.399 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.5046, allocations: 51.83 kB / 1.399 GB, free: 12.56 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/0.5047, allocations: 20 kB / 1.399 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000584/0.5053, allocations: 483 kB / 1.4 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5053, allocations: 0 / 1.4 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000757/0.506, allocations: 251.1 kB / 1.4 GB, free: 11.83 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,damLim.yEnaMinOut,damLim1.yEnaMinOut) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0001945/0.5062, allocations: 134.9 kB / 1.4 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.5078, allocations: 0.7668 MB / 1.401 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5078, allocations: 0 / 1.401 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.5084, allocations: 293.9 kB / 1.401 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009829/0.5094, allocations: 239.2 kB / 1.402 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.5118, allocations: 1.56 MB / 1.403 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.5123, allocations: 0.9581 MB / 1.404 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003832/0.5127, allocations: 89.42 kB / 1.404 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.5129, allocations: 59.42 kB / 1.404 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of SimCode: time 5.11e-07/0.5129, allocations: 0 / 1.404 GB, free: 7.633 MB / 0.9011 GB Notification: Performance of Templates: time 0.01457/0.5275, allocations: 7.461 MB / 1.411 GB, free: 288 kB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches