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.001194/0.001194, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001727, allocations: 173 kB / 16.92 MB, free: 6.652 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.459/1.459, allocations: 223.3 MB / 241 MB, free: 5.332 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.562/2.562, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003759, allocations: 12 kB / 0.8167 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.8021, allocations: 142.4 MB / 0.9558 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.00112/0.8033, allocations: 0.6468 MB / 0.9564 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.8042, allocations: 0.8915 MB / 0.9573 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.848e-05/0.8044, allocations: 2.25 kB / 0.9573 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/0.8044, allocations: 7.875 kB / 0.9573 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.8045, allocations: 22.23 kB / 0.9573 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.8047, allocations: 50.64 kB / 0.9574 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.805, allocations: 132.5 kB / 0.9575 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.8052, allocations: 63.12 kB / 0.9575 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.8053, allocations: 42.03 kB / 0.9576 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.846e-05/0.8054, allocations: 42.31 kB / 0.9576 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.8055, allocations: 4.812 kB / 0.9576 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.212e-05/0.8055, allocations: 4.312 kB / 0.9576 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.8055, allocations: 16.02 kB / 0.9576 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.8056, allocations: 88.7 kB / 0.9577 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.8058, allocations: 153.6 kB / 0.9579 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.8058, allocations: 9.125 kB / 0.9579 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8058, allocations: 0 / 0.9579 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8059, allocations: 0 / 0.9579 GB, free: 5.984 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.0005778/0.8064, allocations: 431.8 kB / 0.9583 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8065, allocations: 9.375 kB / 0.9583 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.8066, allocations: 16.02 kB / 0.9583 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.8068, allocations: 217.6 kB / 0.9585 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.8068, allocations: 13.7 kB / 0.9585 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.8069, allocations: 12.97 kB / 0.9586 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.8072, allocations: 143.4 kB / 0.9587 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.8072, allocations: 3.938 kB / 0.9587 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.8072, allocations: 4 kB / 0.9587 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.8073, allocations: 3.938 kB / 0.9587 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.8075, allocations: 112.6 kB / 0.9588 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.8082, allocations: 484.3 kB / 0.9593 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.8085, allocations: 93.98 kB / 0.9594 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.8086, allocations: 46.62 kB / 0.9594 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.8086, allocations: 1.75 kB / 0.9594 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.8086, allocations: 32.38 kB / 0.9594 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/0.8087, allocations: 3.984 kB / 0.9594 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004504/0.8091, allocations: 158.4 kB / 0.9596 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.8091, allocations: 52.78 kB / 0.9596 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.8093, allocations: 188.6 kB / 0.9598 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.8093, allocations: 33.7 kB / 0.9599 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.8094, allocations: 124.1 kB / 0.96 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.8094, allocations: 14.5 kB / 0.96 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.8095, allocations: 20.45 kB / 0.96 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.8095, allocations: 325.6 kB / 0.9603 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.8096, allocations: 36.73 kB / 0.9604 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.8098, allocations: 68.61 kB / 0.9604 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.81, allocations: 99.67 kB / 0.9605 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.81, allocations: 1.25 kB / 0.9605 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003088/0.8104, allocations: 140.7 kB / 0.9607 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.8104, allocations: 7.031 kB / 0.9607 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8104, allocations: 8.016 kB / 0.9607 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8104, allocations: 1.25 kB / 0.9607 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.8105, allocations: 20.23 kB / 0.9607 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.8106, allocations: 0 / 0.9607 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/0.8107, allocations: 21.91 kB / 0.9607 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.8107, allocations: 1.562 kB / 0.9607 GB, free: 3.543 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.183e-05/0.8108, allocations: 133.4 kB / 0.9608 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.8108, allocations: 9.5 kB / 0.9608 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.8111, allocations: 130 kB / 0.961 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8111, allocations: 1.125 kB / 0.961 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8112, allocations: 0 / 0.961 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8112, allocations: 5.062 kB / 0.961 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.8116, allocations: 442.1 kB / 0.9614 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8117, allocations: 1 kB / 0.9614 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.8118, allocations: 25.67 kB / 0.9614 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8118, allocations: 1.719 kB / 0.9614 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.8118, allocations: 1 kB / 0.9614 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.8118, allocations: 1.25 kB / 0.9614 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8118, allocations: 1.031 kB / 0.9614 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.8121, allocations: 229.6 kB / 0.9616 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.8121, allocations: 96.95 kB / 0.9617 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.8122, allocations: 2.062 kB / 0.9617 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.8123, allocations: 13.23 kB / 0.9618 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.8124, allocations: 13.08 kB / 0.9618 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.8124, allocations: 10.73 kB / 0.9618 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.358e-05/0.8125, allocations: 138.8 kB / 0.9619 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.22e-07/0.8125, allocations: 0 / 0.9619 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002419/0.8127, allocations: 21.81 kB / 0.9619 GB, free: 2.473 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.0001081/0.8128, allocations: 111.9 kB / 0.962 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.8131, allocations: 99.02 kB / 0.9621 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8132, allocations: 0 / 0.9621 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.8133, allocations: 48.91 kB / 0.9622 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.8137, allocations: 33.8 kB / 0.9622 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.8142, allocations: 325.6 kB / 0.9625 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.8144, allocations: 0.7055 MB / 0.9632 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.8144, allocations: 18.08 kB / 0.9632 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.8144, allocations: 0 / 0.9632 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.003456/0.8179, allocations: 1.651 MB / 0.9648 GB, free: 468 kB / 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