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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.0017/0.0017, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001518/0.001518, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.465/1.465, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437.1 MB / 0.7111 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 59.94 kB / 0.87 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 151.6 MB / 1.018 GB, free: 10.54 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002593/0.3651, allocations: 0.872 MB / 1.019 GB, free: 9.66 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3669, allocations: 1.169 MB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.367, allocations: 0 / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/0.367, allocations: 7.875 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.277e-05/0.3671, allocations: 19.84 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.3676, allocations: 136.7 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.3679, allocations: 167.7 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.368, allocations: 53.53 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3682, allocations: 55.84 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3683, allocations: 59.75 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.3683, allocations: 16 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.3684, allocations: 35.97 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.3684, allocations: 23.92 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.399e-05/0.3685, allocations: 59.72 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.3688, allocations: 167.7 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3688, allocations: 0 / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3688, allocations: 3.938 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3688, allocations: 0 / 1.021 GB, free: 7.684 MB / 0.795 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.000775/0.3696, allocations: 444.8 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3696, allocations: 12.88 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.3697, allocations: 16.75 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.3702, allocations: 232.3 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3703, allocations: 12.31 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.3703, allocations: 12.38 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.3706, allocations: 101.9 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3706, allocations: 0 / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3706, allocations: 8 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3706, allocations: 0 / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.3709, allocations: 59.95 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.3715, allocations: 400.3 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3717, allocations: 62.55 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3718, allocations: 36.95 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3719, allocations: 7.984 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.3721, allocations: 83.31 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.3722, allocations: 0 / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.000481/0.3726, allocations: 141.7 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.3727, allocations: 55.41 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3728, allocations: 131.5 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.3729, allocations: 25.7 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.373, allocations: 115.9 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.373, allocations: 23.7 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.3731, allocations: 37.7 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3733, allocations: 322.8 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3734, allocations: 47.97 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.3736, allocations: 75.39 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.3739, allocations: 133 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3739, allocations: 0 / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004533/0.3744, allocations: 191.2 kB / 1.023 GB, free: 4.688 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.3744, allocations: 48.38 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3745, allocations: 7.938 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3745, allocations: 0 / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3746, allocations: 15.98 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3746, allocations: 4.094 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.3748, allocations: 35.81 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.3749, allocations: 11.98 kB / 1.024 GB, free: 4.562 MB / 0.795 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.0001117/0.375, allocations: 118.5 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.375, allocations: 4 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.3751, allocations: 16.31 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3751, allocations: 7.938 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3751, allocations: 0 / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3751, allocations: 3.984 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.3753, allocations: 201.5 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.3753, allocations: 4 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.3754, allocations: 11.98 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3754, allocations: 0 / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3754, allocations: 7.938 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.3754, allocations: 4 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.3754, allocations: 7.984 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.3757, allocations: 125 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.3758, allocations: 85.02 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.3758, allocations: 7.922 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.525e-05/0.3759, allocations: 4 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.376, allocations: 15.92 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.376, allocations: 0 / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.3761, allocations: 101.2 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3761, allocations: 0 / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002271/0.3763, allocations: 31.94 kB / 1.024 GB, free: 3.723 MB / 0.795 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.0001915/0.3765, allocations: 107.2 kB / 1.024 GB, free: 3.609 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.3769, allocations: 171.3 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3769, allocations: 192 / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3771, allocations: 43.91 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.3773, allocations: 23.92 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.3778, allocations: 220.7 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.3783, allocations: 0.6962 MB / 1.026 GB, free: 2.395 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.3783, allocations: 15.44 kB / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3783, allocations: 0 / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of Templates: time 0.003728/0.382, allocations: 1.442 MB / 1.027 GB, free: 0.9531 MB / 0.795 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=400 -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