Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.952/2.952, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003658, allocations: 7.406 kB / 0.9022 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3392, allocations: 159.6 MB / 1.058 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.002713/0.342, allocations: 1.773 MB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.3441, allocations: 1.411 MB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.3444, allocations: 15.94 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.3447, allocations: 43.45 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.3448, allocations: 71.36 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.3452, allocations: 181.2 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006435/0.3459, allocations: 0.6996 MB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.3463, allocations: 293.6 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.3465, allocations: 190.8 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.3468, allocations: 242.5 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.3468, allocations: 20 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-05/0.3469, allocations: 20 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.536e-05/0.3469, allocations: 91.48 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3471, allocations: 129.3 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007225/0.3478, allocations: 0.8804 MB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3478, allocations: 0 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3478, allocations: 0 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.3478, allocations: 0 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001335/0.3492, allocations: 0.8456 MB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3492, allocations: 12.03 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.3494, allocations: 75.06 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/0.3503, allocations: 0.5678 MB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.3503, allocations: 45.31 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.3504, allocations: 67.95 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009946/0.3514, allocations: 0.5492 MB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3514, allocations: 4 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.647e-05/0.3515, allocations: 24 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3515, allocations: 16 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/0.3524, allocations: 493 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.3551, allocations: 1.883 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.3557, allocations: 211.4 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.356, allocations: 113.2 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.356, allocations: 4.172 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3561, allocations: 38.73 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.3561, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0008759/0.357, allocations: 345.5 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.357, allocations: 55.41 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.3577, allocations: 0.5807 MB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.3578, allocations: 29.7 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.3581, allocations: 374.7 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.3582, allocations: 86.88 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.3582, allocations: 8 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3584, allocations: 370.7 kB / 1.071 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.3587, allocations: 137 kB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.3592, allocations: 392.7 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.3596, allocations: 198.5 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3596, allocations: 4 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001015/0.3606, allocations: 0.5673 MB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.3606, allocations: 9.875 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3607, allocations: 8 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.3607, allocations: 16 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.3611, allocations: 120 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.3611, allocations: 19.92 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.3615, allocations: 87.11 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/0.3615, allocations: 28 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.damLim.noZerMin.greHys.y,damLim1.and1.y,damLim.and1.y,damLim.and2.u2,damLim1.and2.u2,damLim.and2.y,damLim.not1.u,damLim1.and2.y,damLim1.not1.u,operationMode.y,freProSta.y,fanStatus.y,damLim1.conInt1.y,damLim1.conInt.y,damLim.conInt1.y,damLim.conInt.y,damLim.intLesEqu.y,damLim.and1.u2,damLim1.intLesEqu.y,damLim1.and1.u2,damLim1.not1.y,$PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim.not1.y,damLim.noZerMin.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.000328/0.3619, allocations: 215.8 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.362, allocations: 59.27 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006649/0.3626, allocations: 298.5 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3627, allocations: 4 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3627, allocations: 0 / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3627, allocations: 7.969 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.364, allocations: 0.8972 MB / 1.074 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.364, allocations: 4 kB / 1.074 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.3642, allocations: 55.91 kB / 1.074 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.3642, allocations: 8.188 kB / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3643, allocations: 8 kB / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3643, allocations: 0 / 1.074 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3643, allocations: 4 kB / 1.074 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.3649, allocations: 429 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.365, allocations: 140.3 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.3651, allocations: 4 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3653, allocations: 19.98 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.3654, allocations: 27.91 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.3654, allocations: 16 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003948/0.3658, allocations: 374.8 kB / 1.075 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3658, allocations: 0 / 1.075 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004885/0.3663, allocations: 103.7 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (damLim1.noZerMin.greHys.y) * Number of discrete states: 1 (damLim1.noZerMin.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.0001567/0.3665, allocations: 115.2 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007799/0.3673, allocations: 351.4 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3673, allocations: 0 / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.3675, allocations: 119.1 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008687/0.3684, allocations: 198.7 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.3701, allocations: 1.03 MB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.3706, allocations: 0.8667 MB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000296/0.3709, allocations: 76.94 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.371, allocations: 43.42 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.371, allocations: 0 / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of Templates: time 0.01025/0.3812, allocations: 4.449 MB / 1.082 GB, free: 12.47 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches