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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001589/0.001589, allocations: 115.6 kB / 16.37 MB, free: 6.012 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.001653/0.001653, allocations: 191.6 kB / 17.31 MB, free: 5.613 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: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.636/2.636, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 70.33 kB / 0.8774 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3477, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002462/0.3502, allocations: 0.8838 MB / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3519, allocations: 1.167 MB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.352, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/0.352, allocations: 11.86 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.403e-05/0.3521, allocations: 23.81 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.3527, allocations: 150.5 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.353, allocations: 151.7 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.3532, allocations: 57.53 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3533, allocations: 59.84 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3535, allocations: 59.8 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.3535, allocations: 12 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.3536, allocations: 24 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.3536, allocations: 27.91 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.1e-05/0.3537, allocations: 63.72 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.354, allocations: 179.4 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.354, allocations: 0 / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.34e-06/0.354, allocations: 0 / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.3541, allocations: 7.875 kB / 1.03 GB, free: 15.13 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.000779/0.3548, allocations: 440.9 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3549, allocations: 8.031 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.355, allocations: 16.75 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.3554, allocations: 236.3 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3555, allocations: 8.375 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.3555, allocations: 12.38 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.3557, allocations: 95.67 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3558, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.3558, allocations: 4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.3558, allocations: 8 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.356, allocations: 63.94 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.3566, allocations: 396.3 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3568, allocations: 62.55 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3569, allocations: 40.91 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.357, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.3572, allocations: 83.34 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.3573, allocations: 0 / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004325/0.3577, allocations: 141.5 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3578, allocations: 55.34 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3579, allocations: 129.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.3579, allocations: 29.7 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.358, allocations: 107.9 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.358, allocations: 23.7 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.23e-05/0.3581, allocations: 37.7 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3582, allocations: 322.8 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3584, allocations: 51.95 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.3585, allocations: 67.41 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.3588, allocations: 133 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3588, allocations: 0 / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003868/0.3592, allocations: 199.1 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.3592, allocations: 33.7 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3592, allocations: 11.97 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3593, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3594, allocations: 19.98 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3594, allocations: 4 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.3596, allocations: 39.8 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.3596, allocations: 4 kB / 1.032 GB, free: 12.03 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 0.0001146/0.3597, allocations: 133.7 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.3598, allocations: 11.91 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.3598, allocations: 12.31 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3598, allocations: 0 / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3598, allocations: 4 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3598, allocations: 0 / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.36, allocations: 193.6 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.36, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.3601, allocations: 11.98 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3601, allocations: 4 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3601, allocations: 3.938 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3601, allocations: 4 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3601, allocations: 4 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.3604, allocations: 140.9 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3605, allocations: 81.02 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3605, allocations: 3.938 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.3606, allocations: 7.984 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.3606, allocations: 8 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3606, allocations: 8 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.085e-05/0.3607, allocations: 102.6 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3607, allocations: 0 / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002305/0.3609, allocations: 27.94 kB / 1.033 GB, free: 11.19 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.0001749/0.3611, allocations: 103.2 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.3615, allocations: 171.3 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3616, allocations: 0 / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3617, allocations: 39.92 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.3619, allocations: 21.52 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.3624, allocations: 195.2 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.3628, allocations: 0.7078 MB / 1.034 GB, free: 9.887 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.494e-05/0.3628, allocations: 4.438 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.3629, allocations: 23.44 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3629, allocations: 0 / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of Templates: time 0.004718/0.3676, allocations: 1.526 MB / 1.036 GB, free: 8.387 MB / 0.8106 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 -s cvode -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/jenkins1/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