Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFanSpe|damLim.VOutMinSet_flow|damLim.yOutDamPosMin|damLim.yOutDamPosMax|damLim1.uSupFanSpe|damLim1.VOutMinSet_flow|damLim1.yOutDamPosMin|damLim1.yOutDamPosMax",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFanSpe|damLim.VOutMinSet_flow|damLim.yOutDamPosMin|damLim.yOutDamPosMax|damLim1.uSupFanSpe|damLim1.VOutMinSet_flow|damLim1.yOutDamPosMin|damLim1.yOutDamPosMax",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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.001235/0.001234, allocations: 100.9 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.001396/0.001396, 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.335/1.335, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.3/2.3, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003027, allocations: 8 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6287/0.629, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.001645/0.6307, allocations: 1.545 MB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.6321, allocations: 1.284 MB / 0.9564 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.6323, allocations: 8 kB / 0.9564 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.049e-05/0.6323, allocations: 43.52 kB / 0.9564 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.6325, allocations: 72.06 kB / 0.9565 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.6328, allocations: 153.7 kB / 0.9566 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.6332, allocations: 386.4 kB / 0.957 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.6335, allocations: 247.8 kB / 0.9572 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.6336, allocations: 153 kB / 0.9574 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.6338, allocations: 199.8 kB / 0.9576 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.6339, allocations: 17.34 kB / 0.9576 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.406e-05/0.6339, allocations: 19.69 kB / 0.9576 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.634, allocations: 80.39 kB / 0.9577 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.634, allocations: 111 kB / 0.9578 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.6345, allocations: 0.7278 MB / 0.9585 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.6345, allocations: 0 / 0.9585 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6345, allocations: 0 / 0.9585 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.6345, allocations: 0 / 0.9585 GB, free: 4.133 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001037/0.6355, allocations: 0.7717 MB / 0.9593 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.6356, allocations: 8.625 kB / 0.9593 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.6357, allocations: 67.64 kB / 0.9593 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007277/0.6364, allocations: 0.4942 MB / 0.9598 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.6365, allocations: 39.78 kB / 0.9599 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.6365, allocations: 51.5 kB / 0.9599 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.6374, allocations: 492.8 kB / 0.9604 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.6374, allocations: 3.938 kB / 0.9604 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.6375, allocations: 25.5 kB / 0.9604 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.6375, allocations: 13.75 kB / 0.9604 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008331/0.6383, allocations: 442 kB / 0.9608 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.6404, allocations: 1.612 MB / 0.9624 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.6408, allocations: 172.2 kB / 0.9626 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.6408, allocations: 7.047 kB / 0.9626 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.6409, allocations: 39.58 kB / 0.9626 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/0.6409, allocations: 0 / 0.9626 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0007747/0.6416, allocations: 310.1 kB / 0.9629 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.6417, allocations: 57.83 kB / 0.963 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.6422, allocations: 0.503 MB / 0.9635 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.6422, allocations: 27.02 kB / 0.9635 GB, free: 488 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.6424, allocations: 334.8 kB / 0.9638 GB, free: 184 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.6424, allocations: 77.05 kB / 0.9639 GB, free: 116 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.6424, allocations: 5.375 kB / 0.9639 GB, free: 112 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6426, allocations: 362.1 kB / 0.9642 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.6428, allocations: 111.3 kB / 0.9643 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.6432, allocations: 333.1 kB / 0.9647 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.6436, allocations: 158.8 kB / 0.9648 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6436, allocations: 6.562 kB / 0.9648 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009021/0.6445, allocations: 0.4962 MB / 0.9653 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6445, allocations: 9.25 kB / 0.9653 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6445, allocations: 7.812 kB / 0.9653 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.6446, allocations: 15.69 kB / 0.9653 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.6449, allocations: 98.98 kB / 0.9654 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.6449, allocations: 18.08 kB / 0.9654 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.6453, allocations: 71.98 kB / 0.9655 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.6453, allocations: 23.81 kB / 0.9655 GB, free: 14.94 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 17 (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,damLim.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0002314/0.6456, allocations: 194 kB / 0.9657 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.6457, allocations: 48.11 kB / 0.9658 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.6463, allocations: 275.7 kB / 0.966 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6463, allocations: 1.969 kB / 0.966 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6463, allocations: 1.031 kB / 0.966 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.6463, allocations: 7.984 kB / 0.966 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.6477, allocations: 0.8381 MB / 0.9669 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6477, allocations: 5.969 kB / 0.9669 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.6479, allocations: 61.41 kB / 0.9669 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.6479, allocations: 6.203 kB / 0.9669 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.6479, allocations: 3.406 kB / 0.9669 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6479, allocations: 2.938 kB / 0.9669 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.648, allocations: 5.906 kB / 0.9669 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/0.6486, allocations: 465.8 kB / 0.9674 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.6487, allocations: 129.5 kB / 0.9675 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.6488, allocations: 15.39 kB / 0.9675 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.649, allocations: 15.92 kB / 0.9675 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.649, allocations: 20 kB / 0.9676 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.6491, allocations: 6.312 kB / 0.9676 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004087/0.6495, allocations: 339.7 kB / 0.9679 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6495, allocations: 0.9688 kB / 0.9679 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004988/0.65, allocations: 93.81 kB / 0.968 GB, free: 13.08 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.000129/0.6501, allocations: 110.7 kB / 0.9681 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007164/0.6508, allocations: 305.2 kB / 0.9684 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6509, allocations: 128 / 0.9684 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.6511, allocations: 106.4 kB / 0.9685 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007701/0.6519, allocations: 181 kB / 0.9686 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.6531, allocations: 0.8741 MB / 0.9695 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.6535, allocations: 0.8505 MB / 0.9703 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.6538, allocations: 68.5 kB / 0.9704 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.6539, allocations: 35.91 kB / 0.9704 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6539, allocations: 4 kB / 0.9704 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.00854/0.6624, allocations: 3.873 MB / 0.9742 GB, free: 9.383 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches