Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001288/0.001288, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001391/0.001391, allocations: 177.3 kB / 15.94 MB, free: 228 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.309/1.309, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6211, allocations: 142.3 MB / 0.9536 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.001915/0.623, allocations: 1.775 MB / 0.9553 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.6246, allocations: 1.387 MB / 0.9567 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.6249, allocations: 14.16 kB / 0.9567 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.453e-05/0.6249, allocations: 39.52 kB / 0.9568 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.6252, allocations: 93.69 kB / 0.9568 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.6255, allocations: 175.7 kB / 0.957 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.626, allocations: 452.8 kB / 0.9574 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/0.6264, allocations: 287.8 kB / 0.9577 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.6267, allocations: 191.5 kB / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.6268, allocations: 223 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.886e-05/0.6269, allocations: 18.22 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.181e-05/0.627, allocations: 20.88 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.627, allocations: 92.59 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.6271, allocations: 125.4 kB / 0.9584 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.6276, allocations: 0.8559 MB / 0.9592 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6276, allocations: 5.375 kB / 0.9592 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6276, allocations: 3.938 kB / 0.9592 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.6277, allocations: 0 / 0.9592 GB, free: 3.699 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001187/0.6288, allocations: 0.8447 MB / 0.96 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.6289, allocations: 9.625 kB / 0.96 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.629, allocations: 80.14 kB / 0.9601 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008015/0.6298, allocations: 0.5568 MB / 0.9607 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.6299, allocations: 51.28 kB / 0.9607 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.6299, allocations: 59.97 kB / 0.9608 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/0.6309, allocations: 0.5293 MB / 0.9613 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6309, allocations: 0 / 0.9613 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.631, allocations: 26.19 kB / 0.9613 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.631, allocations: 14.44 kB / 0.9613 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009263/0.6319, allocations: 484.3 kB / 0.9618 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.6343, allocations: 1.789 MB / 0.9635 GB, free: 484 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.6349, allocations: 203.9 kB / 0.9637 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.6349, allocations: 6.656 kB / 0.9637 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.6349, allocations: 36.69 kB / 0.9638 GB, free: 328 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.6349, allocations: 0 / 0.9638 GB, free: 328 kB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0008705/0.6358, allocations: 346.6 kB / 0.9641 GB, free: 156 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.6359, allocations: 52.91 kB / 0.9641 GB, free: 92 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/0.6365, allocations: 0.5662 MB / 0.9647 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.6366, allocations: 31.64 kB / 0.9647 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.6369, allocations: 378.2 kB / 0.9651 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.6369, allocations: 80.42 kB / 0.9652 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.637, allocations: 11.59 kB / 0.9652 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.6371, allocations: 361.4 kB / 0.9655 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.6374, allocations: 127.3 kB / 0.9656 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.6379, allocations: 372 kB / 0.966 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.6383, allocations: 177.2 kB / 0.9662 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6383, allocations: 1.781 kB / 0.9662 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009933/0.6393, allocations: 0.547 MB / 0.9667 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6393, allocations: 8.469 kB / 0.9667 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.6393, allocations: 8.25 kB / 0.9667 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.6393, allocations: 12.47 kB / 0.9667 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.6398, allocations: 117.4 kB / 0.9668 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.6398, allocations: 11.34 kB / 0.9668 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.6402, allocations: 82.45 kB / 0.9669 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.6403, allocations: 34.42 kB / 0.967 GB, free: 14.04 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.damLim.noZerMin.greHys.y,damLim.and3.y,damLim.not1.u,damLim1.and3.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.intEqu1.y,damLim1.intLesEqu.y,damLim1.intEqu1.y,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 (65): * Single equations (assignments): 65 * 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.000284/0.6405, allocations: 208.6 kB / 0.9672 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.6406, allocations: 51.56 kB / 0.9672 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007081/0.6413, allocations: 295.5 kB / 0.9675 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.6414, allocations: 2.906 kB / 0.9675 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6414, allocations: 3.938 kB / 0.9675 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6414, allocations: 1.031 kB / 0.9675 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.6428, allocations: 0.9196 MB / 0.9684 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6428, allocations: 2 kB / 0.9684 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.643, allocations: 52.47 kB / 0.9684 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.6431, allocations: 14.52 kB / 0.9685 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.6431, allocations: 3 kB / 0.9685 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.6431, allocations: 7.719 kB / 0.9685 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6431, allocations: 1.312 kB / 0.9685 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.6438, allocations: 485.5 kB / 0.9689 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.6439, allocations: 151 kB / 0.9691 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.644, allocations: 8.625 kB / 0.9691 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.6442, allocations: 23.95 kB / 0.9691 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.6443, allocations: 31.33 kB / 0.9691 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.6443, allocations: 6.781 kB / 0.9691 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000402/0.6447, allocations: 368.6 kB / 0.9695 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6447, allocations: 0 / 0.9695 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004973/0.6452, allocations: 102.8 kB / 0.9696 GB, free: 12.07 MB / 0.7325 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.0001272/0.6454, allocations: 115.8 kB / 0.9697 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007/0.6461, allocations: 329.2 kB / 0.97 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6461, allocations: 0.625 kB / 0.97 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.6464, allocations: 123.8 kB / 0.9701 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.6472, allocations: 195.6 kB / 0.9703 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.6486, allocations: 1.015 MB / 0.9713 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.649, allocations: 0.8793 MB / 0.9722 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.6493, allocations: 72.66 kB / 0.9722 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.529e-05/0.6494, allocations: 41.09 kB / 0.9723 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.6494, allocations: 0 / 0.9723 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.009409/0.6588, allocations: 4.461 MB / 0.9766 GB, free: 7.953 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","../files/Buildings_9_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