Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.001154/0.001154, allocations: 172.4 kB / 16.26 MB, free: 6.664 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.656/2.656, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 16 kB / 0.816 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8728/0.8732, allocations: 142.4 MB / 0.9551 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001342/0.8746, allocations: 0.585 MB / 0.9557 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.8764, allocations: 1.159 MB / 0.9568 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.8764, allocations: 5.312 kB / 0.9568 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.8765, allocations: 3.938 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.45e-05/0.8766, allocations: 10.39 kB / 0.9568 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.8771, allocations: 126.1 kB / 0.957 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.8773, allocations: 135.1 kB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.8775, allocations: 50.36 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.8776, allocations: 49.75 kB / 0.9572 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.8777, allocations: 39.73 kB / 0.9572 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.8777, allocations: 5.344 kB / 0.9572 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.412e-05/0.8778, allocations: 28 kB / 0.9573 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.8779, allocations: 12.45 kB / 0.9573 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/0.8779, allocations: 74.67 kB / 0.9573 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.8782, allocations: 162.2 kB / 0.9575 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8782, allocations: 0 / 0.9575 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8782, allocations: 0.9062 kB / 0.9575 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.8782, allocations: 0 / 0.9575 GB, free: 5.82 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006517/0.8789, allocations: 419.6 kB / 0.9579 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.8789, allocations: 10.75 kB / 0.9579 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.879, allocations: 12.16 kB / 0.9579 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.8795, allocations: 241.2 kB / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.8795, allocations: 17.69 kB / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.8796, allocations: 13.5 kB / 0.9582 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.8798, allocations: 96 kB / 0.9583 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.8798, allocations: 1.625 kB / 0.9583 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.8798, allocations: 4 kB / 0.9583 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.8799, allocations: 2.5 kB / 0.9583 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.8801, allocations: 74.69 kB / 0.9583 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.8807, allocations: 396.5 kB / 0.9587 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.8809, allocations: 68.42 kB / 0.9588 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.881, allocations: 38.25 kB / 0.9588 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.8811, allocations: 3.984 kB / 0.9588 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.8813, allocations: 97.72 kB / 0.9589 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.8813, allocations: 0 / 0.9589 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.00053/0.8818, allocations: 151.8 kB / 0.9591 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.8819, allocations: 55.39 kB / 0.9591 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.882, allocations: 131.4 kB / 0.9592 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.8821, allocations: 33.05 kB / 0.9593 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.8822, allocations: 106.8 kB / 0.9594 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.8822, allocations: 29.5 kB / 0.9594 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.8822, allocations: 19.69 kB / 0.9594 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.8823, allocations: 320.8 kB / 0.9597 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.8825, allocations: 57.52 kB / 0.9598 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.8827, allocations: 71.91 kB / 0.9599 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.883, allocations: 139.5 kB / 0.96 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.883, allocations: 0 / 0.96 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004238/0.8834, allocations: 205.7 kB / 0.9602 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.8835, allocations: 36.58 kB / 0.9602 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.8835, allocations: 5.312 kB / 0.9602 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8835, allocations: 1.375 kB / 0.9602 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.8836, allocations: 21.67 kB / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.8836, allocations: 5.516 kB / 0.9603 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.8838, allocations: 50.2 kB / 0.9603 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.8839, allocations: 6.875 kB / 0.9603 GB, free: 3.344 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.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): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001036/0.884, allocations: 120.7 kB / 0.9604 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.884, allocations: 12.03 kB / 0.9604 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.884, allocations: 17.67 kB / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8841, allocations: 1.375 kB / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8841, allocations: 0 / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8841, allocations: 0 / 0.9605 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.8842, allocations: 202.2 kB / 0.9606 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8842, allocations: 96 / 0.9606 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.8843, allocations: 20.3 kB / 0.9607 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8843, allocations: 0 / 0.9607 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.8843, allocations: 9.312 kB / 0.9607 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.8843, allocations: 13.25 kB / 0.9607 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8843, allocations: 0 / 0.9607 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.8846, allocations: 134.6 kB / 0.9608 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.8846, allocations: 86.38 kB / 0.9609 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.8847, allocations: 9.312 kB / 0.9609 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.8847, allocations: 5.5 kB / 0.9609 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.8848, allocations: 10.73 kB / 0.9609 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.8848, allocations: 2.75 kB / 0.9609 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.8848, allocations: 95.64 kB / 0.961 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8848, allocations: 0 / 0.961 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002271/0.8851, allocations: 30 kB / 0.961 GB, free: 2.641 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001503/0.8852, allocations: 114.9 kB / 0.9612 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003797/0.8856, allocations: 166.3 kB / 0.9613 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8856, allocations: 0 / 0.9613 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.8858, allocations: 51.62 kB / 0.9614 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.886, allocations: 16.8 kB / 0.9614 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.8865, allocations: 231.1 kB / 0.9616 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.8867, allocations: 0.6993 MB / 0.9623 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.744e-05/0.8868, allocations: 8.656 kB / 0.9623 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.8868, allocations: 16 kB / 0.9623 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8868, allocations: 0 / 0.9623 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.004681/0.8915, allocations: 1.415 MB / 0.9637 GB, free: 0.7852 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches