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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001256/0.001256, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001349/0.001349, allocations: 193.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.508/2.508, allocations: 390.2 MB / 0.6643 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 59.91 kB / 0.8121 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8593/0.8611, allocations: 140.4 MB / 0.9492 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.002556/0.8637, allocations: 0.9953 MB / 0.9501 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.8647, allocations: 0.8995 MB / 0.951 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.092e-05/0.8648, allocations: 1.375 kB / 0.951 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.094e-05/0.8649, allocations: 11.86 kB / 0.951 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.01e-05/0.865, allocations: 14.61 kB / 0.951 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.8652, allocations: 46.84 kB / 0.9511 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.8654, allocations: 142.7 kB / 0.9512 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.8655, allocations: 70.25 kB / 0.9513 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.026e-05/0.8656, allocations: 60.28 kB / 0.9513 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.8657, allocations: 58.7 kB / 0.9514 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.8657, allocations: 16.5 kB / 0.9514 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.864e-05/0.8658, allocations: 16.5 kB / 0.9514 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.8658, allocations: 30.66 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.8659, allocations: 73.34 kB / 0.9515 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.8661, allocations: 199.7 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8661, allocations: 1.406 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8661, allocations: 0 / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.8661, allocations: 0 / 0.9517 GB, free: 7.293 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.0005517/0.8667, allocations: 452.4 kB / 0.9522 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.8667, allocations: 9.906 kB / 0.9522 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.8667, allocations: 16.22 kB / 0.9522 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.867, allocations: 217.2 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.867, allocations: 13.58 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.867, allocations: 12.56 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.8673, allocations: 133.8 kB / 0.9525 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8673, allocations: 3.938 kB / 0.9525 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.8674, allocations: 5.094 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.8674, allocations: 3.469 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.8677, allocations: 103.2 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006985/0.8684, allocations: 480.9 kB / 0.9531 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.8686, allocations: 84.89 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.8687, allocations: 43.06 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.8687, allocations: 1.25 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.8688, allocations: 35.53 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.8688, allocations: 0 / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004533/0.8692, allocations: 140.9 kB / 0.9534 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.8693, allocations: 52.66 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.8695, allocations: 188.6 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.8695, allocations: 25.7 kB / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.8696, allocations: 124 kB / 0.9538 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.8696, allocations: 22.55 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.8697, allocations: 24.72 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.8697, allocations: 325.7 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.8699, allocations: 39.16 kB / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.87, allocations: 57.42 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.8702, allocations: 81.91 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8702, allocations: 3.938 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000301/0.8705, allocations: 135.3 kB / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.8706, allocations: 8.25 kB / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8706, allocations: 0 / 0.9544 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.8706, allocations: 5.406 kB / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.8707, allocations: 16.73 kB / 0.9545 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.8708, allocations: 8.844 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.8709, allocations: 19.08 kB / 0.9545 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.8709, allocations: 2.062 kB / 0.9545 GB, free: 4.844 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 (exhDamPos.and2.y,exhDamPos.greThr.y,$PRE.exhDamPos.greThr.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.871, allocations: 128.9 kB / 0.9546 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.871, allocations: 13.22 kB / 0.9546 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.8714, allocations: 128.2 kB / 0.9548 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.8714, allocations: 1.219 kB / 0.9548 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.8714, allocations: 1.25 kB / 0.9548 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8714, allocations: 0 / 0.9548 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.8719, allocations: 424.8 kB / 0.9552 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.872, allocations: 1.594 kB / 0.9552 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.872, allocations: 22.98 kB / 0.9552 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.8721, allocations: 1.094 kB / 0.9552 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.8721, allocations: 9.25 kB / 0.9552 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8721, allocations: 1.75 kB / 0.9552 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8721, allocations: 0 / 0.9552 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.8724, allocations: 224.5 kB / 0.9554 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.8725, allocations: 92.47 kB / 0.9555 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.8725, allocations: 6.25 kB / 0.9555 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.8726, allocations: 9.953 kB / 0.9555 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.8727, allocations: 9.234 kB / 0.9555 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.8727, allocations: 6.094 kB / 0.9555 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001153/0.8728, allocations: 143.6 kB / 0.9557 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8728, allocations: 0 / 0.9557 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002558/0.8731, allocations: 17.5 kB / 0.9557 GB, free: 3.773 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.8733, allocations: 112.3 kB / 0.9558 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.8736, allocations: 84.52 kB / 0.9559 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.8736, allocations: 1.156 kB / 0.9559 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.8738, allocations: 39.97 kB / 0.9559 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.8742, allocations: 30.98 kB / 0.9559 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.8748, allocations: 297.5 kB / 0.9562 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.875, allocations: 0.7045 MB / 0.9569 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.016e-05/0.8751, allocations: 16.11 kB / 0.9569 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.8751, allocations: 14.75 kB / 0.9569 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8751, allocations: 0 / 0.9569 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of Templates: time 0.004615/0.8797, allocations: 1.51 MB / 0.9584 GB, free: 1.91 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