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.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.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.001139/0.001139, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001357/0.001357, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.3 MB / 240 MB, free: 5.43 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.494/2.494, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003623, allocations: 16 kB / 0.8154 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7564, allocations: 142.4 MB / 0.9545 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.00102/0.7575, allocations: 0.5668 MB / 0.9551 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.7587, allocations: 1.132 MB / 0.9562 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.7588, allocations: 2.094 kB / 0.9562 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.7588, allocations: 3.938 kB / 0.9562 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.639e-05/0.7589, allocations: 16.81 kB / 0.9562 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.7594, allocations: 118.8 kB / 0.9563 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.7595, allocations: 126.3 kB / 0.9564 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.7597, allocations: 37.53 kB / 0.9565 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.7598, allocations: 48.86 kB / 0.9565 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.7599, allocations: 39.98 kB / 0.9565 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.7599, allocations: 5.844 kB / 0.9565 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.874e-05/0.76, allocations: 20.33 kB / 0.9566 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.76, allocations: 19.17 kB / 0.9566 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.76, allocations: 42.77 kB / 0.9566 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.7602, allocations: 117.5 kB / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7602, allocations: 0 / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7602, allocations: 0 / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.7602, allocations: 1.062 kB / 0.9567 GB, free: 5.969 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.0004985/0.7607, allocations: 428.8 kB / 0.9571 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7608, allocations: 13.06 kB / 0.9572 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.7608, allocations: 18.83 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.7612, allocations: 235.5 kB / 0.9574 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.7613, allocations: 9.172 kB / 0.9574 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.7613, allocations: 17.22 kB / 0.9574 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.7616, allocations: 101.1 kB / 0.9575 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7616, allocations: 0 / 0.9575 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.7616, allocations: 1.188 kB / 0.9575 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.7616, allocations: 1.125 kB / 0.9575 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.7618, allocations: 78.16 kB / 0.9576 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.7623, allocations: 392.8 kB / 0.958 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.7624, allocations: 76.45 kB / 0.958 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/0.7625, allocations: 33.88 kB / 0.9581 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.7626, allocations: 1.406 kB / 0.9581 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.7628, allocations: 97.45 kB / 0.9582 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.7628, allocations: 0 / 0.9582 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003996/0.7632, allocations: 141.6 kB / 0.9583 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.7632, allocations: 61.14 kB / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.7633, allocations: 129.1 kB / 0.9585 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.7633, allocations: 33.3 kB / 0.9585 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.7634, allocations: 106.5 kB / 0.9586 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.7634, allocations: 21.11 kB / 0.9586 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.7634, allocations: 6.875 kB / 0.9587 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.662e-05/0.7635, allocations: 325.5 kB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.7636, allocations: 48.41 kB / 0.959 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.7638, allocations: 75.02 kB / 0.9591 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.7639, allocations: 87.86 kB / 0.9592 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.764, allocations: 3.953 kB / 0.9592 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003741/0.7643, allocations: 201.8 kB / 0.9594 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.7644, allocations: 34.61 kB / 0.9594 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7644, allocations: 5.359 kB / 0.9594 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.7644, allocations: 1.375 kB / 0.9594 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.7645, allocations: 25.62 kB / 0.9594 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.7645, allocations: 5.359 kB / 0.9594 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.7647, allocations: 41.75 kB / 0.9595 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.7648, allocations: 10.38 kB / 0.9595 GB, free: 3.555 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,$PRE.fanStatus.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.694e-05/0.7648, allocations: 125 kB / 0.9596 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.7649, allocations: 11.7 kB / 0.9596 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.7649, allocations: 9.5 kB / 0.9596 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.7649, allocations: 5.031 kB / 0.9596 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.7649, allocations: 1.281 kB / 0.9596 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.7649, allocations: 0 / 0.9596 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.765, allocations: 194.2 kB / 0.9598 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7651, allocations: 0 / 0.9598 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.7651, allocations: 24 kB / 0.9598 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7651, allocations: 3.984 kB / 0.9598 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.7652, allocations: 1.031 kB / 0.9598 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7652, allocations: 5.125 kB / 0.9598 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7652, allocations: 400 / 0.9598 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.7654, allocations: 150.7 kB / 0.96 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.7655, allocations: 86.17 kB / 0.9601 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.7655, allocations: 5.203 kB / 0.9601 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.7655, allocations: 13.33 kB / 0.9601 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.7656, allocations: 3.406 kB / 0.9601 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.7656, allocations: 2.625 kB / 0.9601 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.7656, allocations: 105.9 kB / 0.9602 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7657, allocations: 0 / 0.9602 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002309/0.7659, allocations: 29.75 kB / 0.9602 GB, free: 2.848 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/0.7661, allocations: 108.2 kB / 0.9603 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003602/0.7664, allocations: 178.5 kB / 0.9605 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7664, allocations: 0 / 0.9605 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.7666, allocations: 38.33 kB / 0.9605 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.7668, allocations: 21.86 kB / 0.9606 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.7672, allocations: 221.8 kB / 0.9608 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.7673, allocations: 0.6995 MB / 0.9614 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.391e-05/0.7674, allocations: 16.47 kB / 0.9615 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.7674, allocations: 15.56 kB / 0.9615 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7674, allocations: 0 / 0.9615 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of Templates: time 0.004086/0.7715, allocations: 1.355 MB / 0.9628 GB, free: 1.023 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