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.SetPoints.Validation.ExhaustDamper.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.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|outDamPos.y|exhDamPos.yExhDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|outDamPos.y|exhDamPos.yExhDamPos",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 99.55 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.001559/0.001559, 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.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.388/2.388, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003206, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6411, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.0009072/0.6421, allocations: 0.6234 MB / 0.9542 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000789/0.6429, allocations: 0.8835 MB / 0.9551 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.643, allocations: 2.188 kB / 0.9551 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.643, allocations: 11.86 kB / 0.9551 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/0.6431, allocations: 15.12 kB / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.6432, allocations: 31.25 kB / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.6434, allocations: 88.75 kB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.6435, allocations: 49.02 kB / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.6435, allocations: 41.59 kB / 0.9553 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.6436, allocations: 46.48 kB / 0.9553 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.6436, allocations: 8.812 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.6437, allocations: 4.188 kB / 0.9553 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.6437, allocations: 14.98 kB / 0.9553 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.6437, allocations: 45.73 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.6438, allocations: 157.9 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.6439, allocations: 0 / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6439, allocations: 1.094 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6439, allocations: 0 / 0.9555 GB, free: 6.527 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004676/0.6443, allocations: 431.9 kB / 0.956 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.6444, allocations: 9.094 kB / 0.956 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.6444, allocations: 15.86 kB / 0.956 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.6447, allocations: 224.2 kB / 0.9562 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.6447, allocations: 9.609 kB / 0.9562 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.6447, allocations: 15.56 kB / 0.9562 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.645, allocations: 136.8 kB / 0.9563 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.645, allocations: 0 / 0.9563 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.645, allocations: 9.203 kB / 0.9564 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.645, allocations: 3.5 kB / 0.9564 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.6453, allocations: 115.3 kB / 0.9565 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.6459, allocations: 480.6 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.6462, allocations: 85.89 kB / 0.957 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.6462, allocations: 0 / 0.957 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.6462, allocations: 32.25 kB / 0.957 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.6462, allocations: 3.938 kB / 0.957 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004236/0.6466, allocations: 159.4 kB / 0.9572 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.6467, allocations: 52.91 kB / 0.9572 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.6468, allocations: 189.8 kB / 0.9574 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.6468, allocations: 33.45 kB / 0.9575 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.6469, allocations: 132.2 kB / 0.9576 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.6469, allocations: 14.86 kB / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.6469, allocations: 4 kB / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.647, allocations: 322.7 kB / 0.9579 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.6471, allocations: 39.2 kB / 0.958 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.6472, allocations: 68.39 kB / 0.958 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.6473, allocations: 40.03 kB / 0.9581 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6474, allocations: 3.938 kB / 0.9581 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002831/0.6476, allocations: 140.4 kB / 0.9582 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6477, allocations: 6.5 kB / 0.9582 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.6477, allocations: 1.812 kB / 0.9582 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6477, allocations: 3.953 kB / 0.9582 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.6478, allocations: 24.17 kB / 0.9582 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.6478, allocations: 12 kB / 0.9582 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.6479, allocations: 26.58 kB / 0.9583 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-06/0.648, allocations: 1.812 kB / 0.9583 GB, free: 4.152 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.135e-05/0.648, allocations: 121 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.6481, allocations: 10.34 kB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.6484, allocations: 136.1 kB / 0.9585 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6484, allocations: 5.047 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6484, allocations: 0.9375 kB / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.6484, allocations: 0 / 0.9585 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.6489, allocations: 439.5 kB / 0.9589 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6489, allocations: 0 / 0.9589 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9e-05/0.649, allocations: 21.83 kB / 0.959 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.649, allocations: 5.141 kB / 0.959 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.649, allocations: 5.266 kB / 0.959 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.649, allocations: 13.27 kB / 0.959 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.649, allocations: 0 / 0.959 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.6493, allocations: 235.8 kB / 0.9592 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.6494, allocations: 92.3 kB / 0.9593 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.6494, allocations: 2.438 kB / 0.9593 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.6495, allocations: 16.83 kB / 0.9593 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.6496, allocations: 9.453 kB / 0.9593 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.6496, allocations: 2.75 kB / 0.9593 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.755e-05/0.6497, allocations: 146.2 kB / 0.9595 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6497, allocations: 3.938 kB / 0.9595 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002542/0.6499, allocations: 25.62 kB / 0.9595 GB, free: 3.059 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 8.976e-05/0.65, allocations: 105.5 kB / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.6503, allocations: 105.7 kB / 0.9597 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6504, allocations: 0 / 0.9597 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.6505, allocations: 45.8 kB / 0.9597 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.6508, allocations: 24.28 kB / 0.9598 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.6512, allocations: 284.2 kB / 0.96 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.6513, allocations: 0.7133 MB / 0.9607 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.244e-05/0.6514, allocations: 12.89 kB / 0.9607 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.6514, allocations: 18.31 kB / 0.9608 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6514, allocations: 0 / 0.9608 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.003567/0.655, allocations: 1.364 MB / 0.9621 GB, free: 1.27 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches