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.0007984/0.0007985, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008475/0.0008475, allocations: 168.7 kB / 15.95 MB, free: 204 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.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.414 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.521/2.521, allocations: 390.9 MB / 0.666 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 8 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8432, allocations: 142.4 MB / 0.9545 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.001239/0.8445, allocations: 0.6099 MB / 0.9551 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.8456, allocations: 0.8905 MB / 0.956 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.8457, allocations: 1.312 kB / 0.956 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.8458, allocations: 9.203 kB / 0.956 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.103e-05/0.8459, allocations: 17.36 kB / 0.956 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.846, allocations: 35.03 kB / 0.956 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.8462, allocations: 128.3 kB / 0.9562 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.8464, allocations: 63.17 kB / 0.9562 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.558e-05/0.8465, allocations: 29.83 kB / 0.9562 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.8465, allocations: 42.88 kB / 0.9563 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.8466, allocations: 8.031 kB / 0.9563 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.948e-05/0.8466, allocations: 3.906 kB / 0.9563 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.8466, allocations: 20.3 kB / 0.9563 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.8467, allocations: 44.92 kB / 0.9564 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.8468, allocations: 158 kB / 0.9565 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8468, allocations: 0.9375 kB / 0.9565 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8468, allocations: 0 / 0.9565 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8468, allocations: 0 / 0.9565 GB, free: 6.277 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.0005887/0.8474, allocations: 432.5 kB / 0.9569 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.8475, allocations: 13.12 kB / 0.9569 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.8476, allocations: 19.14 kB / 0.957 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.8478, allocations: 222.9 kB / 0.9572 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.8478, allocations: 8.953 kB / 0.9572 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.8479, allocations: 13.09 kB / 0.9572 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.8482, allocations: 136.8 kB / 0.9573 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8482, allocations: 4 kB / 0.9573 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.8482, allocations: 13.48 kB / 0.9573 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.8482, allocations: 6.391 kB / 0.9573 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.8485, allocations: 108.7 kB / 0.9574 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.8492, allocations: 484.4 kB / 0.9579 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.8494, allocations: 84.83 kB / 0.958 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.8495, allocations: 55.34 kB / 0.958 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.8496, allocations: 1.062 kB / 0.958 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.8496, allocations: 35.95 kB / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.8496, allocations: 0 / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004173/0.85, allocations: 155.1 kB / 0.9582 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.8501, allocations: 52.59 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.8502, allocations: 190.2 kB / 0.9585 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.8502, allocations: 30.89 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.8503, allocations: 127.5 kB / 0.9586 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.8503, allocations: 11.03 kB / 0.9586 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.8504, allocations: 7.938 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.8504, allocations: 330 kB / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.8505, allocations: 40.27 kB / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.8506, allocations: 64.95 kB / 0.959 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.8508, allocations: 39.98 kB / 0.9591 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8508, allocations: 0 / 0.9591 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002684/0.851, allocations: 144.8 kB / 0.9592 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.8511, allocations: 6.094 kB / 0.9592 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8511, allocations: 3.953 kB / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.8511, allocations: 0 / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.8512, allocations: 27.64 kB / 0.9593 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.8512, allocations: 0.9688 kB / 0.9593 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.463e-05/0.8514, allocations: 25.17 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.8514, allocations: 2.25 kB / 0.9593 GB, free: 3.875 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 8.819e-05/0.8515, allocations: 125.6 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.8515, allocations: 12.94 kB / 0.9594 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.8518, allocations: 138.4 kB / 0.9595 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8518, allocations: 5.328 kB / 0.9595 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.8518, allocations: 0 / 0.9595 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8518, allocations: 0 / 0.9595 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.8523, allocations: 443 kB / 0.96 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8523, allocations: 0 / 0.96 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.311e-05/0.8524, allocations: 19.11 kB / 0.96 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.8524, allocations: 3.953 kB / 0.96 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.8524, allocations: 1.375 kB / 0.96 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.8524, allocations: 1.375 kB / 0.96 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8524, allocations: 3.984 kB / 0.96 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.8527, allocations: 225.9 kB / 0.9602 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.8528, allocations: 97.11 kB / 0.9603 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.8528, allocations: 9.328 kB / 0.9603 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.8529, allocations: 17.61 kB / 0.9603 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.853, allocations: 9.484 kB / 0.9603 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.853, allocations: 6.75 kB / 0.9603 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.05e-05/0.8531, allocations: 137.5 kB / 0.9605 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.9e-07/0.8531, allocations: 0 / 0.9605 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002424/0.8533, allocations: 25.78 kB / 0.9605 GB, free: 2.797 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 0.0001191/0.8535, allocations: 103.9 kB / 0.9606 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.8537, allocations: 109.7 kB / 0.9607 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8537, allocations: 0 / 0.9607 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.8539, allocations: 49.08 kB / 0.9608 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.8543, allocations: 31.17 kB / 0.9608 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.8547, allocations: 264.2 kB / 0.961 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.8549, allocations: 0.7129 MB / 0.9617 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.848e-05/0.855, allocations: 11.3 kB / 0.9617 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.855, allocations: 15.09 kB / 0.9618 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.855, allocations: 0 / 0.9618 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.004103/0.8591, allocations: 1.37 MB / 0.9631 GB, free: 1.016 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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