Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 104.6 kB / 16.27 MB, free: 5.984 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.001366/0.001366, allocations: 189 kB / 17.2 MB, free: 5.609 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.36/2.36, allocations: 437 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 71.64 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3513, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.004843/0.3562, allocations: 2.61 MB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.358, allocations: 0.9434 MB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.3582, allocations: 4 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.3585, allocations: 67.27 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.3586, allocations: 59.39 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.3594, allocations: 335.3 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.3599, allocations: 0.5947 MB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.3604, allocations: 287.6 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.3606, allocations: 215.3 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.3609, allocations: 234.8 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.9e-05/0.361, allocations: 68 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.3611, allocations: 80 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.3612, allocations: 115.7 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.3614, allocations: 254.7 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006381/0.3621, allocations: 0.7284 MB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3621, allocations: 4 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3621, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.3621, allocations: 0 / 1.024 GB, free: 4.043 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001225/0.3633, allocations: 0.7717 MB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3634, allocations: 16.88 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.3635, allocations: 52.38 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.364, allocations: 384.4 kB / 1.026 GB, free: 2.734 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.3641, allocations: 29.38 kB / 1.026 GB, free: 2.707 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.697e-05/0.3642, allocations: 52.38 kB / 1.026 GB, free: 2.656 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.3648, allocations: 430.7 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3649, allocations: 3.938 kB / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.3649, allocations: 16 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3649, allocations: 8 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.3655, allocations: 323.8 kB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.3675, allocations: 1.424 MB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.3681, allocations: 258.7 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.3683, allocations: 122.6 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.3683, allocations: 4 kB / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000416/0.3688, allocations: 212.8 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=26): time 1.764e-06/0.3688, allocations: 0 / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.0007119/0.3695, allocations: 325.2 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.3696, allocations: 136.5 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.37, allocations: 425.5 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.37, allocations: 33.7 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.3702, allocations: 228 kB / 1.029 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.3703, allocations: 90.73 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3704, allocations: 77.67 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3706, allocations: 346.8 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.3709, allocations: 133.1 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.3712, allocations: 188.6 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.3717, allocations: 292.1 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3717, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007197/0.3724, allocations: 420 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.3724, allocations: 41.77 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3725, allocations: 0 / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3725, allocations: 4 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.3727, allocations: 63.89 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3728, allocations: 4 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.3731, allocations: 71.42 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.3732, allocations: 16 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000323/0.3735, allocations: 248.8 kB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002803/0.3738, allocations: 190.1 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003874/0.3742, allocations: 286.3 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.3742, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006234/0.3748, allocations: 406.6 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3749, allocations: 33.7 kB / 1.032 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3749, allocations: 7.938 kB / 1.032 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-06/0.3749, allocations: 0 / 1.032 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.3751, allocations: 60.03 kB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3751, allocations: 7.938 kB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.3755, allocations: 63.69 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.3755, allocations: 12 kB / 1.032 GB, free: 11.44 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,uEna.y,$PRE.uEna.y,$whenCondition3,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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.0001295/0.3756, allocations: 204.1 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.3757, allocations: 47.45 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/0.3763, allocations: 298.1 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3763, allocations: 4 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3763, allocations: 3.938 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3763, allocations: 3.984 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009068/0.3772, allocations: 0.7831 MB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3772, allocations: 0 / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.3774, allocations: 43.97 kB / 1.034 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3775, allocations: 0 / 1.034 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.3775, allocations: 15.92 kB / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3775, allocations: 0 / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3775, allocations: 0 / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007392/0.3782, allocations: 499.7 kB / 1.034 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.3783, allocations: 128.6 kB / 1.034 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.3784, allocations: 4 kB / 1.034 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.3786, allocations: 15.98 kB / 1.034 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.3787, allocations: 15.97 kB / 1.034 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.3787, allocations: 12 kB / 1.034 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002859/0.379, allocations: 295.2 kB / 1.035 GB, free: 9 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.379, allocations: 0 / 1.035 GB, free: 9 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004844/0.3795, allocations: 151.5 kB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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.0001866/0.3797, allocations: 119.9 kB / 1.035 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009868/0.3807, allocations: 0.5863 MB / 1.035 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3807, allocations: 8.125 kB / 1.035 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.3809, allocations: 119.9 kB / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.3814, allocations: 76.77 kB / 1.036 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3825, allocations: 0.6858 MB / 1.036 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.3829, allocations: 0.804 MB / 1.037 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.813e-05/0.383, allocations: 43.42 kB / 1.037 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.383, allocations: 0 / 1.037 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of Templates: time 0.007073/0.3901, allocations: 5.008 MB / 1.042 GB, free: 1.344 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches