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.001769/0.001769, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001894/0.001894, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.537/1.537, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.564/2.564, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.91 kB / 0.8119 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.056, allocations: 140.4 MB / 0.949 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.003562/1.059, allocations: 0.9991 MB / 0.95 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001655/1.061, allocations: 0.8913 MB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/1.061, allocations: 2.281 kB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.238e-05/1.061, allocations: 15.86 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/1.061, allocations: 6.625 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/1.062, allocations: 50.34 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003159/1.062, allocations: 136.9 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002775/1.062, allocations: 72.03 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/1.062, allocations: 44.39 kB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/1.063, allocations: 54.88 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/1.063, allocations: 8.156 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.774e-05/1.063, allocations: 6.75 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/1.063, allocations: 33.03 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.371e-05/1.063, allocations: 56.58 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/1.063, allocations: 190.3 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.063, allocations: 0 / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/1.063, allocations: 0 / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.063, allocations: 1.781 kB / 0.9515 GB, free: 7.289 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.0007776/1.064, allocations: 450.7 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.064, allocations: 14.44 kB / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/1.064, allocations: 16 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/1.064, allocations: 221.6 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/1.064, allocations: 9.891 kB / 0.9522 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/1.064, allocations: 13.03 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/1.065, allocations: 132.8 kB / 0.9523 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/1.065, allocations: 7.922 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/1.065, allocations: 5.344 kB / 0.9523 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/1.065, allocations: 7.688 kB / 0.9523 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/1.065, allocations: 106.7 kB / 0.9524 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009888/1.066, allocations: 477.7 kB / 0.9529 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/1.067, allocations: 83.72 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/1.067, allocations: 39.59 kB / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/1.067, allocations: 1.531 kB / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/1.067, allocations: 31.97 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/1.067, allocations: 0 / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007655/1.068, allocations: 139.9 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/1.068, allocations: 52.44 kB / 0.9532 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/1.068, allocations: 188.7 kB / 0.9534 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/1.068, allocations: 30.95 kB / 0.9534 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/1.068, allocations: 117.8 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/1.068, allocations: 22.77 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.441e-05/1.069, allocations: 26.31 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.924e-05/1.069, allocations: 325.5 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/1.069, allocations: 38.78 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/1.069, allocations: 56.83 kB / 0.954 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/1.069, allocations: 94.06 kB / 0.9541 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.069, allocations: 3.938 kB / 0.9541 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004381/1.07, allocations: 136 kB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.07, allocations: 4.688 kB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.07, allocations: 1.25 kB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.07, allocations: 1.125 kB / 0.9542 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/1.07, allocations: 16.27 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.07, allocations: 1.188 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/1.07, allocations: 19.17 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/1.07, allocations: 6.188 kB / 0.9543 GB, free: 4.832 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.0001136/1.07, allocations: 128.8 kB / 0.9544 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/1.07, allocations: 9.562 kB / 0.9544 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000444/1.071, allocations: 124.3 kB / 0.9545 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.071, allocations: 1.156 kB / 0.9545 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.071, allocations: 9.109 kB / 0.9545 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.071, allocations: 0 / 0.9545 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/1.072, allocations: 428.7 kB / 0.9549 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.072, allocations: 1.156 kB / 0.9549 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/1.072, allocations: 15.69 kB / 0.9549 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.072, allocations: 8.891 kB / 0.9549 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/1.072, allocations: 1.281 kB / 0.9549 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.072, allocations: 5.188 kB / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.072, allocations: 0 / 0.955 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/1.072, allocations: 209.5 kB / 0.9552 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/1.072, allocations: 95.94 kB / 0.9552 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/1.072, allocations: 1.281 kB / 0.9552 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/1.073, allocations: 14.56 kB / 0.9553 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/1.073, allocations: 13.83 kB / 0.9553 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/1.073, allocations: 2.344 kB / 0.9553 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001575/1.073, allocations: 142.4 kB / 0.9554 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/1.073, allocations: 1.406 kB / 0.9554 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004154/1.073, allocations: 16.34 kB / 0.9554 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.0001511/1.073, allocations: 109.3 kB / 0.9555 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004364/1.074, allocations: 87.31 kB / 0.9556 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.074, allocations: 5.719 kB / 0.9556 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/1.074, allocations: 39.62 kB / 0.9557 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/1.075, allocations: 37.47 kB / 0.9557 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/1.075, allocations: 301.8 kB / 0.956 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/1.076, allocations: 0.7083 MB / 0.9567 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001001/1.076, allocations: 15.8 kB / 0.9567 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/1.076, allocations: 15 kB / 0.9567 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/1.076, allocations: 0 / 0.9567 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of Templates: time 0.005949/1.082, allocations: 1.43 MB / 0.9581 GB, free: 1.941 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