Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001623/0.001623, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.827/2.827, allocations: 461.9 MB / 0.7342 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 73.22 kB / 0.8985 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3481, allocations: 157.4 MB / 1.052 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002254/0.3504, allocations: 0.9387 MB / 1.053 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.3519, allocations: 1.186 MB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.3519, allocations: 4 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.537e-05/0.352, allocations: 3.938 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.174e-05/0.3521, allocations: 11.88 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.3525, allocations: 126.9 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3527, allocations: 135.7 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3528, allocations: 49.55 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.3529, allocations: 55.78 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.353, allocations: 59.73 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.3531, allocations: 8 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.982e-05/0.3532, allocations: 19.98 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.3532, allocations: 15.94 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.3533, allocations: 55.72 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.3535, allocations: 171.8 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3535, allocations: 3.938 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3535, allocations: 0 / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3535, allocations: 0 / 1.055 GB, free: 5.91 MB / 0.8106 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.0006192/0.3541, allocations: 440.8 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3542, allocations: 8.031 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.3543, allocations: 16.75 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.3548, allocations: 238.9 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3548, allocations: 8.375 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.3548, allocations: 12.38 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3551, allocations: 89.97 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3551, allocations: 0 / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.3551, allocations: 7.984 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3551, allocations: 4 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.3553, allocations: 65.33 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.3559, allocations: 400.3 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.3561, allocations: 66.48 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.3562, allocations: 40.95 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3562, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.3565, allocations: 79.38 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.582e-06/0.3565, allocations: 4 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000477/0.357, allocations: 137.4 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3571, allocations: 55.41 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3572, allocations: 128.5 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3572, allocations: 29.7 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.3573, allocations: 115.9 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.3573, allocations: 19.72 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.3574, allocations: 45.62 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3575, allocations: 318.8 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3577, allocations: 47.95 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3579, allocations: 71.39 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.3582, allocations: 133 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3582, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000431/0.3586, allocations: 199.1 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.3587, allocations: 41.69 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3587, allocations: 3.938 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3587, allocations: 4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3588, allocations: 19.98 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3588, allocations: 0 / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.359, allocations: 35.81 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.3591, allocations: 7.984 kB / 1.058 GB, free: 2.809 MB / 0.8106 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 9.581e-05/0.3592, allocations: 131.3 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.3592, allocations: 4 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.3592, allocations: 12.31 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3592, allocations: 4 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3592, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3592, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.3594, allocations: 201.5 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3594, allocations: 0 / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/0.3595, allocations: 15.98 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3595, allocations: 7.984 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3595, allocations: 4.031 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3595, allocations: 3.938 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3595, allocations: 0 / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3598, allocations: 136.9 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.3599, allocations: 81.02 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.3599, allocations: 11.94 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.36, allocations: 7.984 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.36, allocations: 3.984 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.36, allocations: 8 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.3601, allocations: 95.27 kB / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3601, allocations: 0 / 1.058 GB, free: 2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002286/0.3603, allocations: 27.94 kB / 1.058 GB, free: 1.973 MB / 0.8106 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.000152/0.3605, allocations: 111.2 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003807/0.3609, allocations: 163.8 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3609, allocations: 0 / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.361, allocations: 52.03 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.3613, allocations: 19.08 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.3617, allocations: 220.9 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.362, allocations: 0.7043 MB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.805e-05/0.362, allocations: 8.422 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.3621, allocations: 11.44 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3621, allocations: 0 / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of Templates: time 0.004082/0.3662, allocations: 1.417 MB / 1.061 GB, free: 15.26 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches