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.001867/0.001867, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.00221/0.00221, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.527/1.527, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.382/2.382, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.59 kB / 0.8141 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3738, allocations: 140.4 MB / 0.9512 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.002639/0.3765, allocations: 0.9446 MB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3778, allocations: 0.9052 MB / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3779, allocations: 0 / 0.953 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.236e-05/0.378, allocations: 11.81 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.3781, allocations: 27.78 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.3784, allocations: 47.95 kB / 0.9531 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.3787, allocations: 159.5 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.3789, allocations: 61.73 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.092e-05/0.379, allocations: 47.84 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.323e-05/0.3791, allocations: 59.7 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.3792, allocations: 16 kB / 0.9534 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.528e-05/0.3792, allocations: 16 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.3792, allocations: 43.84 kB / 0.9535 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/0.3793, allocations: 59.67 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.3796, allocations: 215.2 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3796, allocations: 0 / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3796, allocations: 0 / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3796, allocations: 4 kB / 0.9537 GB, free: 5.352 MB / 0.7325 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.0007114/0.3803, allocations: 443.1 kB / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3804, allocations: 8.031 kB / 0.9542 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.3805, allocations: 16.84 kB / 0.9542 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.3809, allocations: 226.3 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3809, allocations: 8.609 kB / 0.9544 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.3809, allocations: 12.38 kB / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.3813, allocations: 128.1 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3813, allocations: 3.938 kB / 0.9546 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3813, allocations: 4 kB / 0.9546 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3813, allocations: 8 kB / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.3816, allocations: 108.4 kB / 0.9547 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008233/0.3824, allocations: 480 kB / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3826, allocations: 82.55 kB / 0.9552 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3828, allocations: 40.84 kB / 0.9552 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3828, allocations: 0 / 0.9552 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3828, allocations: 38.5 kB / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.3828, allocations: 0 / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004748/0.3833, allocations: 133.7 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3834, allocations: 59.41 kB / 0.9555 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.3837, allocations: 199.1 kB / 0.9557 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3837, allocations: 25.7 kB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3838, allocations: 112 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.3839, allocations: 27.64 kB / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.3839, allocations: 21.66 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3841, allocations: 330.8 kB / 0.9561 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3842, allocations: 39.97 kB / 0.9562 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3843, allocations: 62.48 kB / 0.9562 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.3845, allocations: 77.67 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3845, allocations: 0 / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002962/0.3848, allocations: 133.4 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3849, allocations: 8 kB / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3849, allocations: 0 / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3849, allocations: 0 / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.385, allocations: 19.92 kB / 0.9565 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3851, allocations: 4 kB / 0.9565 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3852, allocations: 19.83 kB / 0.9565 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3852, allocations: 4 kB / 0.9565 GB, free: 2.289 MB / 0.7325 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.0001169/0.3853, allocations: 131.8 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.3853, allocations: 11.89 kB / 0.9566 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.3857, allocations: 123 kB / 0.9568 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.3857, allocations: 4 kB / 0.9568 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3857, allocations: 0 / 0.9568 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3857, allocations: 3.984 kB / 0.9568 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.3863, allocations: 427.4 kB / 0.9572 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3863, allocations: 4 kB / 0.9572 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.3864, allocations: 11.98 kB / 0.9572 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3864, allocations: 7.938 kB / 0.9572 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3864, allocations: 7.984 kB / 0.9572 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3864, allocations: 0 / 0.9572 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3864, allocations: 0 / 0.9572 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.3867, allocations: 220.2 kB / 0.9574 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-05/0.3868, allocations: 100.8 kB / 0.9575 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3869, allocations: 4 kB / 0.9575 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.387, allocations: 11.98 kB / 0.9575 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.3871, allocations: 11.98 kB / 0.9575 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3871, allocations: 4 kB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001185/0.3872, allocations: 143.2 kB / 0.9577 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3872, allocations: 0 / 0.9577 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002578/0.3875, allocations: 24 kB / 0.9577 GB, free: 0.9531 MB / 0.7325 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.0001588/0.3876, allocations: 101.1 kB / 0.9578 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.388, allocations: 91.83 kB / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.388, allocations: 0 / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.3881, allocations: 48.45 kB / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.3885, allocations: 29.8 kB / 0.958 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.3891, allocations: 240.5 kB / 0.9582 GB, free: 432 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3895, allocations: 0.7084 MB / 0.9589 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.506e-05/0.3896, allocations: 12.83 kB / 0.9589 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.3896, allocations: 27.42 kB / 0.9589 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.3896, allocations: 3.938 kB / 0.9589 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of Templates: time 0.00483/0.3945, allocations: 1.593 MB / 0.9605 GB, free: 14.1 MB / 0.7481 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 -s cvode -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