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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001722/0.001723, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002093/0.002093, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.645/1.645, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.114/3.114, allocations: 482.4 MB / 0.7543 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 70.27 kB / 0.9234 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4181, allocations: 162.2 MB / 1.082 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.004455/0.4226, allocations: 2.31 MB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.425, allocations: 1.415 MB / 1.085 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.4254, allocations: 15.94 kB / 1.085 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.4257, allocations: 51.44 kB / 1.086 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.426, allocations: 71.44 kB / 1.086 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.4265, allocations: 255.8 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008361/0.4274, allocations: 0.7932 MB / 1.087 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006293/0.428, allocations: 402.2 kB / 1.087 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.4284, allocations: 298.7 kB / 1.087 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000328/0.4287, allocations: 330.3 kB / 1.088 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.4289, allocations: 88 kB / 1.088 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.429, allocations: 87.94 kB / 1.088 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.4291, allocations: 171.5 kB / 1.088 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.4295, allocations: 354 kB / 1.088 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.4306, allocations: 1.086 MB / 1.089 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.988e-05/0.4306, allocations: 0 / 1.089 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.126e-06/0.4306, allocations: 3.938 kB / 1.089 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.4306, allocations: 0 / 1.089 GB, free: 5.77 MB / 0.8419 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.001715/0.4324, allocations: 0.9564 MB / 1.09 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4324, allocations: 12.03 kB / 1.09 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.4325, allocations: 76 kB / 1.09 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.4335, allocations: 0.5688 MB / 1.091 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.4336, allocations: 49.69 kB / 1.091 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-05/0.4337, allocations: 64.38 kB / 1.091 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.4347, allocations: 0.5419 MB / 1.092 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4348, allocations: 4.188 kB / 1.092 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.551e-05/0.4348, allocations: 27.94 kB / 1.092 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.4349, allocations: 23.98 kB / 1.092 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009849/0.4359, allocations: 484.9 kB / 1.092 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.439, allocations: 1.867 MB / 1.094 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.4396, allocations: 202.8 kB / 1.094 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.4399, allocations: 102.1 kB / 1.094 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.4399, allocations: 7.938 kB / 1.094 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.44, allocations: 34.56 kB / 1.094 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.454e-06/0.44, allocations: 4 kB / 1.094 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0008974/0.4409, allocations: 321.5 kB / 1.095 GB, free: 228 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.441, allocations: 51.41 kB / 1.095 GB, free: 164 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007657/0.4418, allocations: 0.5808 MB / 1.095 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.4418, allocations: 37.7 kB / 1.095 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.4421, allocations: 378.6 kB / 1.096 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.4422, allocations: 78.91 kB / 1.096 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.4424, allocations: 130 kB / 1.096 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.4426, allocations: 366.8 kB / 1.096 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.443, allocations: 125 kB / 1.096 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.4435, allocations: 392.5 kB / 1.097 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/0.4444, allocations: 0.5405 MB / 1.097 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.4444, allocations: 3.938 kB / 1.097 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00112/0.4455, allocations: 0.5594 MB / 1.098 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.4455, allocations: 9.562 kB / 1.098 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.4456, allocations: 8 kB / 1.098 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/0.4456, allocations: 12 kB / 1.098 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.446, allocations: 111.8 kB / 1.098 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/0.446, allocations: 16.28 kB / 1.098 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.4465, allocations: 95.09 kB / 1.098 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.4465, allocations: 28 kB / 1.098 GB, free: 12.44 MB / 0.8575 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.0003484/0.4469, allocations: 211.8 kB / 1.098 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.447, allocations: 51.34 kB / 1.098 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006945/0.4477, allocations: 290.4 kB / 1.098 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.4477, allocations: 4 kB / 1.098 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4477, allocations: 0 / 1.098 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4477, allocations: 4 kB / 1.098 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.4492, allocations: 0.8854 MB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4492, allocations: 4 kB / 1.099 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.4494, allocations: 51.91 kB / 1.099 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4494, allocations: 4 kB / 1.099 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.4495, allocations: 11.98 kB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.4495, allocations: 3.938 kB / 1.099 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4495, allocations: 7.938 kB / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.4501, allocations: 402.8 kB / 1.1 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.4503, allocations: 140.3 kB / 1.1 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.4503, allocations: 15.92 kB / 1.1 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.4506, allocations: 11.98 kB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.4507, allocations: 27.91 kB / 1.1 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4507, allocations: 12 kB / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004468/0.4511, allocations: 378.8 kB / 1.1 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4511, allocations: 4 kB / 1.1 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005939/0.4517, allocations: 111.5 kB / 1.1 GB, free: 9.695 MB / 0.8575 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.0001643/0.4519, allocations: 119.2 kB / 1.101 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007844/0.4527, allocations: 345.8 kB / 1.101 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4527, allocations: 0 / 1.101 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.453, allocations: 116.6 kB / 1.101 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.4539, allocations: 188.7 kB / 1.101 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.4556, allocations: 1.076 MB / 1.102 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.4561, allocations: 0.8705 MB / 1.103 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000305/0.4564, allocations: 80.92 kB / 1.103 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.4565, allocations: 51.36 kB / 1.103 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of SimCode: time 6.32e-07/0.4566, allocations: 0 / 1.103 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of Templates: time 0.01175/0.4683, allocations: 5.011 MB / 1.108 GB, free: 1.875 MB / 0.8575 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=400 -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