Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.008922/0.008922, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001805/0.001805, allocations: 202.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3672, allocations: 151.6 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.004564/0.3718, allocations: 2.307 MB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.3755, allocations: 1.443 MB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009816/0.3765, allocations: 15.94 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.3771, allocations: 86.94 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009398/0.3781, allocations: 119 kB / 1.171 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.379, allocations: 295.7 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.3804, allocations: 0.797 MB / 1.172 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007296/0.3812, allocations: 398.2 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004804/0.3817, allocations: 302.7 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004626/0.3822, allocations: 330.3 kB / 1.173 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.3823, allocations: 80 kB / 1.173 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.3824, allocations: 88 kB / 1.173 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.3826, allocations: 175.4 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003391/0.383, allocations: 358 kB / 1.173 GB, free: 40 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.3842, allocations: 1.12 MB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3842, allocations: 0 / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3843, allocations: 4 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.3843, allocations: 3.938 kB / 1.174 GB, free: 14.91 MB / 0.9356 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.001733/0.386, allocations: 0.9813 MB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3861, allocations: 8.031 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.3862, allocations: 88.36 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.3873, allocations: 0.581 MB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.3873, allocations: 45.69 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/0.3874, allocations: 64.38 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009733/0.3884, allocations: 0.5381 MB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3884, allocations: 4.188 kB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.3885, allocations: 27.94 kB / 1.177 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.3885, allocations: 20 kB / 1.177 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009512/0.3895, allocations: 484.9 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/0.3924, allocations: 1.868 MB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.393, allocations: 209.4 kB / 1.179 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.3933, allocations: 96.8 kB / 1.179 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.3933, allocations: 7.938 kB / 1.179 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3934, allocations: 38.56 kB / 1.179 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.3934, allocations: 0 / 1.179 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0008576/0.3942, allocations: 329 kB / 1.18 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.3943, allocations: 55.41 kB / 1.18 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/0.3949, allocations: 0.5848 MB / 1.18 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.395, allocations: 29.7 kB / 1.18 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.3953, allocations: 383.7 kB / 1.181 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.296e-05/0.3953, allocations: 95.25 kB / 1.181 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.3955, allocations: 126.1 kB / 1.181 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3957, allocations: 370.8 kB / 1.181 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.396, allocations: 121 kB / 1.181 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.3965, allocations: 392.5 kB / 1.182 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.3974, allocations: 0.5346 MB / 1.182 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.3974, allocations: 7.938 kB / 1.182 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001069/0.3985, allocations: 0.5623 MB / 1.183 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.3985, allocations: 15.94 kB / 1.183 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.3985, allocations: 8 kB / 1.183 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/0.3986, allocations: 12 kB / 1.183 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.399, allocations: 107.8 kB / 1.183 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.399, allocations: 15.94 kB / 1.183 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.3994, allocations: 91.56 kB / 1.183 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.3995, allocations: 28 kB / 1.183 GB, free: 5.508 MB / 0.9356 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,damLim1.noZerMin.greHys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.3997, allocations: 219.7 kB / 1.183 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.3998, allocations: 59.56 kB / 1.183 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.4005, allocations: 288.4 kB / 1.184 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.4005, allocations: 4 kB / 1.184 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4005, allocations: 0 / 1.184 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4005, allocations: 0 / 1.184 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.4019, allocations: 0.8858 MB / 1.184 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4019, allocations: 192 / 1.184 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.4021, allocations: 55.91 kB / 1.184 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.4021, allocations: 0 / 1.184 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.4022, allocations: 11.98 kB / 1.185 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.4022, allocations: 7.938 kB / 1.185 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4022, allocations: 0 / 1.185 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.4028, allocations: 410.9 kB / 1.185 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.403, allocations: 144.6 kB / 1.185 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.4031, allocations: 11.94 kB / 1.185 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.4033, allocations: 23.98 kB / 1.185 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.4034, allocations: 27.91 kB / 1.185 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.4034, allocations: 4 kB / 1.185 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004236/0.4038, allocations: 382.8 kB / 1.185 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4038, allocations: 0 / 1.185 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000497/0.4043, allocations: 107.7 kB / 1.186 GB, free: 2.762 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.4045, allocations: 111.2 kB / 1.186 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007591/0.4053, allocations: 340.4 kB / 1.186 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4053, allocations: 0 / 1.186 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003174/0.4056, allocations: 113.4 kB / 1.186 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009067/0.4065, allocations: 184.6 kB / 1.186 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.408, allocations: 0.8808 MB / 1.187 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.4084, allocations: 0.8666 MB / 1.188 GB, free: 212 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.4087, allocations: 76.94 kB / 1.188 GB, free: 132 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.4088, allocations: 51.42 kB / 1.188 GB, free: 80 kB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.4088, allocations: 4 kB / 1.188 GB, free: 76 kB / 0.9356 GB Notification: Performance of Templates: time 0.01157/0.4204, allocations: 5.258 MB / 1.193 GB, free: 10.92 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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