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.153/2.153, allocations: 390.3 MB / 402.8 MB, free: 6.738 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.001164/0.001164, allocations: 184.3 kB / 496.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0008766/0.0008767, allocations: 95.94 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.747e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3141, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.349, allocations: 153.9 MB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/1.35, allocations: 89.53 kB / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01674/1.367, allocations: 6.673 MB / 1.376 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.315e-06/1.367, allocations: 0 / 1.376 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.01e-05/1.367, allocations: 11.98 kB / 1.376 GB, free: 10.45 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001187/1.368, allocations: 0.6376 MB / 1.376 GB, free: 9.797 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.368, allocations: 16.03 kB / 1.376 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/1.368, allocations: 51.34 kB / 1.376 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/1.369, allocations: 357.3 kB / 1.377 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/1.369, allocations: 35.75 kB / 1.377 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/1.369, allocations: 42.06 kB / 1.377 GB, free: 9.355 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/1.37, allocations: 425 kB / 1.377 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.37, allocations: 0 / 1.377 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/1.37, allocations: 17.94 kB / 1.377 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/1.37, allocations: 12 kB / 1.377 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/1.37, allocations: 297.9 kB / 1.378 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/1.373, allocations: 1.371 MB / 1.379 GB, free: 7.773 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/1.373, allocations: 256.3 kB / 1.379 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/1.374, allocations: 120.7 kB / 1.379 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/1.374, allocations: 4 kB / 1.379 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/1.374, allocations: 177.4 kB / 1.379 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/1.374, allocations: 0 / 1.379 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0004878/1.374, allocations: 252.1 kB / 1.38 GB, free: 7.184 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.666e-05/1.375, allocations: 132.5 kB / 1.38 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/1.375, allocations: 393.1 kB / 1.38 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/1.375, allocations: 36.33 kB / 1.38 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/1.375, allocations: 223.1 kB / 1.38 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/1.375, allocations: 83.89 kB / 1.381 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/1.375, allocations: 15 kB / 1.381 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.376, allocations: 345.5 kB / 1.381 GB, free: 6.121 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/1.376, allocations: 83.44 kB / 1.381 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/1.376, allocations: 128.8 kB / 1.381 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/1.376, allocations: 84.78 kB / 1.381 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.376, allocations: 3.953 kB / 1.381 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004746/1.377, allocations: 269.9 kB / 1.381 GB, free: 5.715 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.377, allocations: 189.5 kB / 1.382 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/1.377, allocations: 3.984 kB / 1.382 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.377, allocations: 3.938 kB / 1.382 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/1.377, allocations: 67.3 kB / 1.382 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.377, allocations: 4 kB / 1.382 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/1.377, allocations: 62.89 kB / 1.382 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/1.377, allocations: 7.938 kB / 1.382 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/1.377, allocations: 8 kB / 1.382 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003355/1.378, allocations: 198.4 kB / 1.382 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.378, allocations: 3.984 kB / 1.382 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/1.378, allocations: 4 kB / 1.382 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/1.378, allocations: 43.98 kB / 1.382 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/1.378, allocations: 3.938 kB / 1.382 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/1.378, allocations: 61.62 kB / 1.382 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/1.378, allocations: 4 kB / 1.382 GB, free: 5.137 MB / 0.8386 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 () * 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.000121/1.378, allocations: 118.7 kB / 1.382 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/1.378, allocations: 47.39 kB / 1.382 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/1.379, allocations: 282 kB / 1.383 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.379, allocations: 4 kB / 1.383 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.379, allocations: 4 kB / 1.383 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.379, allocations: 4 kB / 1.383 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/1.38, allocations: 0.8819 MB / 1.383 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.38, allocations: 256 / 1.383 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/1.38, allocations: 67.16 kB / 1.383 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/1.38, allocations: 4 kB / 1.383 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/1.38, allocations: 7.375 kB / 1.383 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/1.38, allocations: 11.92 kB / 1.383 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.38, allocations: 0 / 1.383 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008137/1.381, allocations: 0.6288 MB / 1.384 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/1.381, allocations: 124.1 kB / 1.384 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/1.382, allocations: 11.36 kB / 1.384 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/1.382, allocations: 42.62 kB / 1.384 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/1.382, allocations: 19.78 kB / 1.384 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/1.382, allocations: 12 kB / 1.384 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003685/1.382, allocations: 304.5 kB / 1.385 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.382, allocations: 0 / 1.385 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004799/1.383, allocations: 133.8 kB / 1.385 GB, free: 2.816 MB / 0.8386 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 () * 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.0001931/1.383, allocations: 126.6 kB / 1.385 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005785/1.384, allocations: 331.2 kB / 1.385 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.384, allocations: 4 kB / 1.385 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/1.384, allocations: 123.7 kB / 1.385 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/1.384, allocations: 124.8 kB / 1.385 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/1.386, allocations: 0.5495 MB / 1.386 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/1.386, allocations: 0.8237 MB / 1.387 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003066/1.386, allocations: 63.22 kB / 1.387 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/1.386, allocations: 35.42 kB / 1.387 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/1.386, allocations: 0 / 1.387 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of Templates: time 0.01047/1.397, allocations: 4.539 MB / 1.391 GB, free: 12.36 MB / 0.8542 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