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.008566/0.008566, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002051/0.002051, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.43/1.43, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.505/2.505, allocations: 390.3 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 0.8126 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8764/0.8779, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.002183/0.8801, allocations: 0.9925 MB / 0.9506 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008934/0.8811, allocations: 0.899 MB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.8812, allocations: 2.75 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.868e-05/0.8812, allocations: 7.875 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.8813, allocations: 9.297 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.8815, allocations: 52.16 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.8817, allocations: 139.9 kB / 0.9517 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.8819, allocations: 67.52 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.882, allocations: 40.34 kB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.8821, allocations: 60.06 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.8821, allocations: 7.5 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.8821, allocations: 7.188 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.8822, allocations: 23.92 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.227e-05/0.8822, allocations: 60.56 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.8824, allocations: 158.4 kB / 0.9521 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8824, allocations: 5.312 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8824, allocations: 0 / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.8824, allocations: 7.875 kB / 0.9521 GB, free: 7.199 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.0006051/0.883, allocations: 441.1 kB / 0.9525 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.8831, allocations: 8.594 kB / 0.9526 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.8831, allocations: 20.48 kB / 0.9526 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.8834, allocations: 223.4 kB / 0.9528 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.8834, allocations: 14.61 kB / 0.9528 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.8835, allocations: 16.41 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.8838, allocations: 129.9 kB / 0.9529 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8838, allocations: 7.938 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.8838, allocations: 9.359 kB / 0.953 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.8838, allocations: 2.969 kB / 0.953 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.8841, allocations: 102.7 kB / 0.9531 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.8849, allocations: 477.5 kB / 0.9535 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.8851, allocations: 88.22 kB / 0.9536 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.8852, allocations: 47.66 kB / 0.9536 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.8853, allocations: 1.094 kB / 0.9536 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.8853, allocations: 35.62 kB / 0.9537 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.8853, allocations: 0 / 0.9537 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004584/0.8858, allocations: 141.3 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.8858, allocations: 51.41 kB / 0.9539 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.886, allocations: 189.1 kB / 0.954 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.886, allocations: 29.69 kB / 0.9541 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.8861, allocations: 119.7 kB / 0.9542 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.8861, allocations: 22.22 kB / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.8862, allocations: 28.83 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.8862, allocations: 323.1 kB / 0.9545 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.8863, allocations: 34.64 kB / 0.9546 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.8865, allocations: 60.55 kB / 0.9546 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.8867, allocations: 85.77 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8867, allocations: 1.219 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002813/0.887, allocations: 139 kB / 0.9548 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.887, allocations: 5.094 kB / 0.9548 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.887, allocations: 0 / 0.9548 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.887, allocations: 1.125 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.8872, allocations: 17.45 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.8872, allocations: 1.094 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.981e-05/0.8873, allocations: 14.45 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.8873, allocations: 7.094 kB / 0.9549 GB, free: 4.75 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 8.142e-05/0.8874, allocations: 128.5 kB / 0.955 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.8874, allocations: 13.66 kB / 0.955 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.8878, allocations: 124.5 kB / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8878, allocations: 1.281 kB / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8878, allocations: 0 / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8878, allocations: 0 / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.8883, allocations: 433.2 kB / 0.9556 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8883, allocations: 1.594 kB / 0.9556 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.8884, allocations: 18.92 kB / 0.9556 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8884, allocations: 1.094 kB / 0.9556 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.8884, allocations: 5.125 kB / 0.9556 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.8884, allocations: 1.219 kB / 0.9556 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8884, allocations: 1.094 kB / 0.9556 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.8887, allocations: 215.4 kB / 0.9558 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.8888, allocations: 97.66 kB / 0.9559 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.8888, allocations: 5.219 kB / 0.9559 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.8889, allocations: 13.42 kB / 0.9559 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.889, allocations: 13.97 kB / 0.9559 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.889, allocations: 6.469 kB / 0.9559 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001106/0.8891, allocations: 139 kB / 0.9561 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8891, allocations: 0 / 0.9561 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002742/0.8894, allocations: 20.84 kB / 0.9561 GB, free: 3.68 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.0001035/0.8895, allocations: 109.4 kB / 0.9562 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.8898, allocations: 83.73 kB / 0.9563 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8898, allocations: 5.688 kB / 0.9563 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.8899, allocations: 44.16 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.8904, allocations: 24.45 kB / 0.9563 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.8909, allocations: 325.8 kB / 0.9566 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.8911, allocations: 0.7087 MB / 0.9573 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.8911, allocations: 14.94 kB / 0.9573 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.8911, allocations: 0 / 0.9573 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of Templates: time 0.003294/0.8944, allocations: 1.66 MB / 0.959 GB, free: 1.668 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/jenkins1/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