Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.287/2.287, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001271/0.001271, allocations: 180.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.3 MB / 0.7915 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 91.89 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.82e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3558, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.359, allocations: 150.9 MB / 1.366 GB, free: 3.047 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.359, allocations: 79.81 kB / 1.366 GB, free: 3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004509/1.364, allocations: 1.862 MB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.974e-06/1.364, allocations: 4 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.11e-05/1.364, allocations: 4 kB / 1.368 GB, free: 1.348 MB / 0.823 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.0005086/1.364, allocations: 401.3 kB / 1.369 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.364, allocations: 8.031 kB / 1.369 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/1.364, allocations: 15.16 kB / 1.369 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/1.365, allocations: 215.8 kB / 1.369 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/1.365, allocations: 11.34 kB / 1.369 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/1.365, allocations: 15.31 kB / 1.369 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/1.365, allocations: 114.1 kB / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.365, allocations: 0 / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/1.365, allocations: 7.438 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/1.365, allocations: 0 / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/1.365, allocations: 74.95 kB / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008232/1.366, allocations: 0.5274 MB / 1.369 GB, free: 8 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/1.366, allocations: 65.34 kB / 1.37 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/1.366, allocations: 27.55 kB / 1.37 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/1.366, allocations: 1.031 kB / 1.37 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/1.366, allocations: 34.56 kB / 1.37 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/1.366, allocations: 0 / 1.37 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002185/1.366, allocations: 98.3 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/1.367, allocations: 59.36 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/1.367, allocations: 169.9 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/1.367, allocations: 25.7 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/1.367, allocations: 113.2 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/1.367, allocations: 29.55 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/1.367, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.367, allocations: 325.7 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.332e-05/1.367, allocations: 22.62 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/1.367, allocations: 43.28 kB / 1.37 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.974e-05/1.367, allocations: 27.17 kB / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.367, allocations: 0 / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001421/1.367, allocations: 94.09 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.367, allocations: 4 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.367, allocations: 0 / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.367, allocations: 7.938 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/1.367, allocations: 15.98 kB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.368, allocations: 4.031 kB / 1.371 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/1.368, allocations: 31.22 kB / 1.371 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/1.368, allocations: 0 / 1.371 GB, free: 14.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.457e-05/1.368, allocations: 111.9 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/1.368, allocations: 11.81 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/1.368, allocations: 109.6 kB / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/1.368, allocations: 4.219 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.368, allocations: 0 / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/1.368, allocations: 7.875 kB / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/1.368, allocations: 402.9 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.368, allocations: 0 / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.551e-05/1.368, allocations: 19.98 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.369, allocations: 0 / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.369, allocations: 0 / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.369, allocations: 4.031 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.369, allocations: 7.953 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/1.369, allocations: 207.7 kB / 1.371 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/1.369, allocations: 88.95 kB / 1.372 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/1.369, allocations: 7.812 kB / 1.372 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/1.369, allocations: 23.94 kB / 1.372 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/1.369, allocations: 19.72 kB / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/1.369, allocations: 0 / 1.372 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.469e-05/1.369, allocations: 139.5 kB / 1.372 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.369, allocations: 0 / 1.372 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002133/1.369, allocations: 27.66 kB / 1.372 GB, free: 13.75 MB / 0.8386 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) * 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 0.0001366/1.37, allocations: 112.4 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000156/1.37, allocations: 65 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.37, allocations: 0 / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.116e-05/1.37, allocations: 31.62 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/1.37, allocations: 24.56 kB / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/1.37, allocations: 171 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/1.371, allocations: 0.7165 MB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.343e-05/1.371, allocations: 20.53 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/1.371, allocations: 15.38 kB / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.371, allocations: 0 / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of Templates: time 0.004134/1.375, allocations: 1.443 MB / 1.374 GB, free: 11.23 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches