Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009519/0.0009519, 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.001255/0.001255, allocations: 174.5 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.754/2.754, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006463/0.0006463, allocations: 12 kB / 0.8736 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8419/0.8426, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001335/0.844, allocations: 0.5869 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.8459, allocations: 1.171 MB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.846, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.8461, allocations: 7.922 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.8462, allocations: 15.86 kB / 1.026 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.8467, allocations: 119.5 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.8469, allocations: 139.7 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.8471, allocations: 49.55 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.8472, allocations: 47.83 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.8474, allocations: 43.77 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.8474, allocations: 8 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.8475, allocations: 23.92 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.8475, allocations: 11.94 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.8476, allocations: 81.41 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.8478, allocations: 117.7 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8478, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8478, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.8478, allocations: 0 / 1.026 GB, free: 13.41 MB / 0.7794 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.0006273/0.8485, allocations: 420.9 kB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.8485, allocations: 15.98 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.8486, allocations: 16.84 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.8491, allocations: 234 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.8491, allocations: 12.38 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.8492, allocations: 16.31 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.8494, allocations: 102 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.8494, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.8495, allocations: 4 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.8495, allocations: 0 / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.8497, allocations: 67.95 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.8503, allocations: 408.3 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.8505, allocations: 70.55 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.8506, allocations: 40.91 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.8507, allocations: 3.938 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.8509, allocations: 91.36 kB / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.8509, allocations: 0 / 1.028 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004421/0.8514, allocations: 145.5 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.8514, allocations: 59.39 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.8515, allocations: 129.8 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.8516, allocations: 29.7 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.8516, allocations: 111.9 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.8517, allocations: 23.64 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.8517, allocations: 21.72 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8518, allocations: 318.8 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.852, allocations: 59.95 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.8522, allocations: 75.34 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.8525, allocations: 141 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8525, allocations: 0 / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004423/0.8529, allocations: 211.1 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.853, allocations: 39.42 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.853, allocations: 3.938 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.853, allocations: 4 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.8531, allocations: 15.98 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.8531, allocations: 4 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.8534, allocations: 47.95 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.8534, allocations: 8 kB / 1.029 GB, free: 10.25 MB / 0.7794 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.0001112/0.8535, allocations: 130.4 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.8535, allocations: 11.84 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.8536, allocations: 16.31 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8536, allocations: 0 / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.8536, allocations: 0 / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8536, allocations: 0 / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.8538, allocations: 205.5 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.8538, allocations: 0 / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.198e-05/0.8539, allocations: 15.98 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.8539, allocations: 0 / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.8539, allocations: 7.938 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.8539, allocations: 4 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.8539, allocations: 0 / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.8542, allocations: 145.3 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.8543, allocations: 81.02 kB / 1.03 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.8543, allocations: 11.94 kB / 1.03 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.8544, allocations: 7.984 kB / 1.03 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.8544, allocations: 4 kB / 1.03 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.8544, allocations: 4 kB / 1.03 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.8545, allocations: 101.1 kB / 1.03 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8545, allocations: 0 / 1.03 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002307/0.8547, allocations: 28 kB / 1.03 GB, free: 9.395 MB / 0.7794 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.000156/0.8549, allocations: 103.2 kB / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.8553, allocations: 183.2 kB / 1.03 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8553, allocations: 0 / 1.03 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.8554, allocations: 44.17 kB / 1.03 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.8557, allocations: 16.66 kB / 1.03 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.8562, allocations: 265.1 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.8564, allocations: 0.7004 MB / 1.031 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.8565, allocations: 15.44 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.8565, allocations: 4 kB / 1.031 GB, free: 8 MB / 0.7794 GB Notification: Performance of Templates: time 0.0033/0.8598, allocations: 1.433 MB / 1.032 GB, free: 6.578 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches