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.00895/0.008951, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001829/0.001829, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.774/2.774, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.31 kB / 0.9509 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3698, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.002499/0.3723, allocations: 0.9404 MB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3736, allocations: 0.8896 MB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3737, allocations: 4 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.257e-05/0.3738, allocations: 15.8 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.3739, allocations: 19.8 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3741, allocations: 59.88 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.3744, allocations: 143.6 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.3746, allocations: 77.72 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.3747, allocations: 51.8 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/0.3748, allocations: 59.69 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.3748, allocations: 16 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.522e-05/0.3748, allocations: 16 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.3749, allocations: 35.86 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.375, allocations: 67.59 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.3752, allocations: 207.2 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3752, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3752, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3753, allocations: 4 kB / 1.09 GB, free: 14.92 MB / 0.8575 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.0007227/0.376, allocations: 439.2 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.376, allocations: 12.03 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.3761, allocations: 16.75 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.3764, allocations: 220.5 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3765, allocations: 12.61 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3765, allocations: 16.38 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.3768, allocations: 132.1 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3768, allocations: 7.875 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.3769, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3769, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.3771, allocations: 100.4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008512/0.378, allocations: 480.1 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.3783, allocations: 86.45 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.3784, allocations: 44.86 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3784, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.3785, allocations: 38.56 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3785, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005006/0.379, allocations: 137.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.379, allocations: 55.39 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.3793, allocations: 183.2 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3793, allocations: 29.7 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3794, allocations: 119.9 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.3795, allocations: 23.69 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.3795, allocations: 29.7 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3797, allocations: 322.8 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.3798, allocations: 35.98 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.38, allocations: 58.48 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.3802, allocations: 89.64 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3802, allocations: 3.938 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003029/0.3805, allocations: 129.3 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.3806, allocations: 7.984 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3806, allocations: 0 / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3806, allocations: 8.031 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.3808, allocations: 19.98 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3808, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.363e-05/0.3809, allocations: 15.84 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3809, allocations: 7.984 kB / 1.093 GB, free: 11.85 MB / 0.8575 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.0001463/0.3811, allocations: 125.7 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.3811, allocations: 15.81 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.3814, allocations: 127 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3815, allocations: 0 / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3815, allocations: 0 / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3815, allocations: 0 / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.3821, allocations: 423.2 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3821, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.3822, allocations: 20.02 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3822, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3822, allocations: 7.984 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3822, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3822, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.3826, allocations: 232 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.92e-05/0.3827, allocations: 88.95 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3827, allocations: 4.281 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.3828, allocations: 15.98 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.3829, allocations: 7.984 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3829, allocations: 11.92 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001416/0.3831, allocations: 140.2 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3831, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002392/0.3833, allocations: 23.91 kB / 1.094 GB, free: 10.52 MB / 0.8575 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.0001695/0.3835, allocations: 112.6 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.3839, allocations: 87.89 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3839, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.384, allocations: 43.91 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3844, allocations: 35 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.385, allocations: 241.1 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3854, allocations: 0.7123 MB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.444e-05/0.3854, allocations: 12.64 kB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.3855, allocations: 15.44 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3855, allocations: 0 / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of Templates: time 0.005261/0.3908, allocations: 1.658 MB / 1.097 GB, free: 7.613 MB / 0.8575 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