Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001559/0.001559, allocations: 108.5 kB / 16.41 MB, free: 6.461 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.001598/0.001598, allocations: 187 kB / 17.34 MB, free: 5.719 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 76.03 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.004018/1.031, allocations: 2.608 MB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001692/1.033, allocations: 0.9296 MB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/1.033, allocations: 7.438 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002349/1.034, allocations: 62.31 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/1.034, allocations: 63.44 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007435/1.035, allocations: 325.5 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007189/1.035, allocations: 0.6033 MB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004998/1.036, allocations: 285.9 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/1.036, allocations: 218.7 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/1.036, allocations: 229.2 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/1.036, allocations: 67.72 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/1.037, allocations: 81.19 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/1.037, allocations: 127.4 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/1.037, allocations: 247.3 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009575/1.038, allocations: 0.7455 MB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.038, allocations: 1.406 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/1.038, allocations: 0 / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.37e-05/1.038, allocations: 0 / 1.095 GB, free: 1.371 MB / 0.8575 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.001319/1.039, allocations: 0.7794 MB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.039, allocations: 9.156 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/1.039, allocations: 52.55 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/1.04, allocations: 383.2 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/1.04, allocations: 36.73 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/1.04, allocations: 46.78 kB / 1.096 GB, free: 392 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008991/1.041, allocations: 432.9 kB / 1.097 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/1.041, allocations: 3.938 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/1.041, allocations: 20.84 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/1.041, allocations: 10.47 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/1.042, allocations: 308 kB / 1.097 GB, free: 56 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/1.045, allocations: 1.416 MB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/1.045, allocations: 264.5 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/1.046, allocations: 116.2 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/1.046, allocations: 3.234 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004047/1.046, allocations: 215.8 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/1.046, allocations: 0 / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.000875/1.047, allocations: 336.1 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/1.047, allocations: 133.6 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/1.048, allocations: 412 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/1.048, allocations: 33.58 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/1.048, allocations: 242.8 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/1.048, allocations: 84.39 kB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/1.048, allocations: 76.11 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.048, allocations: 347.5 kB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/1.049, allocations: 132.4 kB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/1.049, allocations: 194.4 kB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/1.05, allocations: 288.3 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.05, allocations: 0.7188 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008642/1.05, allocations: 414.3 kB / 1.102 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/1.05, allocations: 43.67 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.051, allocations: 1.406 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.051, allocations: 2.344 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/1.051, allocations: 60.28 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.051, allocations: 2.219 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/1.051, allocations: 70.34 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/1.051, allocations: 21.53 kB / 1.102 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004059/1.052, allocations: 246.1 kB / 1.102 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003199/1.052, allocations: 185.7 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004732/1.053, allocations: 286.8 kB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/1.053, allocations: 1.188 kB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007825/1.053, allocations: 409.9 kB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/1.053, allocations: 39.27 kB / 1.103 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.053, allocations: 5.125 kB / 1.103 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/1.053, allocations: 3.562 kB / 1.103 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/1.054, allocations: 56.2 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.054, allocations: 3.141 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/1.054, allocations: 63.58 kB / 1.103 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/1.054, allocations: 13.2 kB / 1.103 GB, free: 12.32 MB / 0.8731 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.0001792/1.054, allocations: 201.8 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/1.054, allocations: 44.92 kB / 1.103 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007595/1.055, allocations: 306.3 kB / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.055, allocations: 3.25 kB / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.055, allocations: 0 / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/1.055, allocations: 2.062 kB / 1.104 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/1.056, allocations: 0.7829 MB / 1.104 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.056, allocations: 4.656 kB / 1.104 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/1.057, allocations: 50.08 kB / 1.104 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.057, allocations: 1.344 kB / 1.104 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/1.057, allocations: 6.828 kB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/1.057, allocations: 1.375 kB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.057, allocations: 5.438 kB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/1.058, allocations: 494.8 kB / 1.105 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/1.058, allocations: 125.4 kB / 1.105 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/1.058, allocations: 11.16 kB / 1.105 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/1.058, allocations: 17.39 kB / 1.105 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/1.058, allocations: 14.83 kB / 1.105 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/1.058, allocations: 11.92 kB / 1.105 GB, free: 11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003746/1.058, allocations: 288.2 kB / 1.105 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.058, allocations: 64 / 1.105 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005994/1.059, allocations: 156.9 kB / 1.105 GB, free: 10.82 MB / 0.8731 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.0002032/1.059, allocations: 109.4 kB / 1.106 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001118/1.06, allocations: 0.5709 MB / 1.106 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.06, allocations: 2.422 kB / 1.106 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/1.061, allocations: 123.9 kB / 1.106 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/1.061, allocations: 69 kB / 1.106 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/1.062, allocations: 0.6805 MB / 1.107 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/1.063, allocations: 0.8032 MB / 1.108 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/1.063, allocations: 39.19 kB / 1.108 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/1.063, allocations: 0 / 1.108 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of Templates: time 0.01172/1.075, allocations: 5.058 MB / 1.113 GB, free: 8.629 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches