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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 172.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001041, allocations: 95.89 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.587e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3202, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9908/1.311, allocations: 150.1 MB / 1.353 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/1.311, allocations: 82.56 kB / 1.353 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01734/1.329, allocations: 7.12 MB / 1.36 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/1.329, allocations: 0 / 1.36 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.48e-05/1.329, allocations: 15.66 kB / 1.36 GB, free: 33.6 MB / 0.8386 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.001418/1.33, allocations: 0.711 MB / 1.36 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.33, allocations: 10.55 kB / 1.36 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/1.331, allocations: 73.88 kB / 1.36 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/1.331, allocations: 477.2 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/1.332, allocations: 19.47 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.713e-05/1.332, allocations: 30.81 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007293/1.332, allocations: 347.5 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007054/1.333, allocations: 374.2 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.333, allocations: 0 / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/1.333, allocations: 0 / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/1.333, allocations: 15.38 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/1.336, allocations: 1.386 MB / 1.363 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/1.336, allocations: 139.1 kB / 1.363 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/1.336, allocations: 66.94 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/1.336, allocations: 7.844 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/1.336, allocations: 34.53 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/1.336, allocations: 0 / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003267/1.336, allocations: 163.4 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/1.336, allocations: 55.25 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/1.337, allocations: 355.7 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.337, allocations: 29.55 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/1.337, allocations: 339.8 kB / 1.364 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/1.337, allocations: 59.09 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/1.337, allocations: 0 / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.337, allocations: 353.8 kB / 1.365 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/1.337, allocations: 76.28 kB / 1.365 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/1.338, allocations: 180.4 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/1.338, allocations: 99.7 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.338, allocations: 0 / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004438/1.338, allocations: 310.7 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.338, allocations: 10.38 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.338, allocations: 3.875 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.338, allocations: 3.875 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/1.339, allocations: 88.14 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.339, allocations: 3.906 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/1.339, allocations: 56.8 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/1.339, allocations: 21.8 kB / 1.365 GB, free: 31.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,damLim.and3.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001073/1.339, allocations: 120.4 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/1.339, allocations: 31.16 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/1.34, allocations: 194.6 kB / 1.366 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.34, allocations: 7.688 kB / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.34, allocations: 0 / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.34, allocations: 2.906 kB / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/1.34, allocations: 0.6972 MB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.34, allocations: 0 / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/1.341, allocations: 63.59 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/1.341, allocations: 0 / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/1.341, allocations: 3.875 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/1.341, allocations: 7.828 kB / 1.366 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.341, allocations: 4.125 kB / 1.366 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/1.341, allocations: 385.1 kB / 1.367 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/1.341, allocations: 122.8 kB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/1.341, allocations: 7.797 kB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/1.341, allocations: 26.11 kB / 1.367 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/1.341, allocations: 21.53 kB / 1.367 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/1.341, allocations: 3.844 kB / 1.367 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002442/1.342, allocations: 253.8 kB / 1.367 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.342, allocations: 0 / 1.367 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003925/1.342, allocations: 88.97 kB / 1.367 GB, free: 30.11 MB / 0.8386 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 () * 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.0001393/1.342, allocations: 103.9 kB / 1.367 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003137/1.343, allocations: 204.5 kB / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.343, allocations: 0 / 1.368 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/1.343, allocations: 76.91 kB / 1.368 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/1.343, allocations: 167.7 kB / 1.368 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/1.344, allocations: 0.5181 MB / 1.368 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/1.345, allocations: 0.8441 MB / 1.369 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002497/1.345, allocations: 54.62 kB / 1.369 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/1.345, allocations: 30.5 kB / 1.369 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of SimCode: time 6.82e-07/1.345, allocations: 0 / 1.369 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.007775/1.353, allocations: 3.278 MB / 1.372 GB, free: 28.73 MB / 0.8386 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