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.001496/0.001496, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001552/0.001552, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.47/1.47, allocations: 222.9 MB / 241 MB, free: 15.08 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.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.054, 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.003877/1.058, allocations: 2.609 MB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001888/1.06, allocations: 0.9272 MB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/1.06, allocations: 10.53 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002531/1.061, allocations: 62.45 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/1.061, allocations: 68.05 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/1.062, allocations: 327.9 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007281/1.062, allocations: 0.5948 MB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004863/1.063, allocations: 290.5 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000283/1.063, allocations: 219 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/1.063, allocations: 224.5 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/1.063, allocations: 72.25 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/1.064, allocations: 80.8 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/1.064, allocations: 128.1 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/1.064, allocations: 242.4 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/1.065, allocations: 0.7466 MB / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/1.065, allocations: 0 / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/1.065, allocations: 0 / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.541e-05/1.065, allocations: 0.7812 kB / 1.095 GB, free: 1.375 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.001278/1.066, allocations: 0.7834 MB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.066, allocations: 9.594 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/1.067, allocations: 52.52 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/1.067, allocations: 386.7 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/1.067, allocations: 32.41 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.958e-05/1.067, allocations: 46.98 kB / 1.096 GB, free: 392 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009083/1.068, allocations: 433.3 kB / 1.097 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/1.068, allocations: 3.938 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/1.068, allocations: 16.34 kB / 1.097 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/1.068, allocations: 14.28 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006973/1.069, allocations: 320.5 kB / 1.097 GB, free: 44 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/1.072, allocations: 1.417 MB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/1.072, allocations: 254.6 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/1.073, allocations: 119.1 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/1.073, allocations: 3.141 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/1.073, allocations: 208.1 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/1.073, allocations: 0 / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.000866/1.074, allocations: 337.8 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/1.074, allocations: 137.1 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/1.075, allocations: 408.3 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/1.075, allocations: 33.55 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/1.075, allocations: 238.8 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/1.075, allocations: 84.38 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/1.075, allocations: 79.73 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.075, allocations: 347.9 kB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/1.076, allocations: 133.1 kB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/1.076, allocations: 194.8 kB / 1.101 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005685/1.077, allocations: 284 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.077, allocations: 0 / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008614/1.077, allocations: 419.4 kB / 1.102 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/1.078, allocations: 38.55 kB / 1.102 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.078, allocations: 1.938 kB / 1.102 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.078, allocations: 2.641 kB / 1.102 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/1.078, allocations: 59.31 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.078, allocations: 6.422 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/1.078, allocations: 70.45 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/1.078, allocations: 21.72 kB / 1.102 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003785/1.079, allocations: 238.6 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003317/1.079, allocations: 192.2 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004727/1.08, allocations: 288.1 kB / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/1.08, allocations: 0 / 1.102 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007823/1.08, allocations: 410.6 kB / 1.103 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/1.08, allocations: 39.2 kB / 1.103 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/1.08, allocations: 9.219 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/1.08, allocations: 3.219 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/1.081, allocations: 52.33 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.081, allocations: 3.406 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/1.081, allocations: 67.25 kB / 1.103 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/1.081, allocations: 13.05 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.000175/1.081, allocations: 209.2 kB / 1.103 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/1.081, allocations: 41.45 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007523/1.082, allocations: 302.2 kB / 1.104 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/1.082, allocations: 2.719 kB / 1.104 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.082, allocations: 1.859 kB / 1.104 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.082, allocations: 1.312 kB / 1.104 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/1.083, allocations: 0.782 MB / 1.104 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.083, allocations: 3.938 kB / 1.104 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/1.084, allocations: 46.41 kB / 1.104 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.084, allocations: 1.469 kB / 1.104 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/1.084, allocations: 12.31 kB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.084, allocations: 1.344 kB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.084, allocations: 0.8906 kB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/1.084, allocations: 498.5 kB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/1.085, allocations: 122.3 kB / 1.105 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/1.085, allocations: 6.344 kB / 1.105 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/1.085, allocations: 17.73 kB / 1.105 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/1.085, allocations: 19.42 kB / 1.105 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/1.085, allocations: 10.59 kB / 1.105 GB, free: 11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003462/1.085, allocations: 288.8 kB / 1.105 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.085, allocations: 0 / 1.105 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005627/1.086, allocations: 157.7 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.0001897/1.086, allocations: 112 kB / 1.106 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001109/1.087, allocations: 0.5686 MB / 1.106 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.087, allocations: 5.5 kB / 1.106 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/1.087, allocations: 120.6 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.0005039/1.088, allocations: 68.8 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.001324/1.089, allocations: 0.6895 MB / 1.107 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/1.09, allocations: 0.8031 MB / 1.108 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.09, allocations: 34.69 kB / 1.108 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.09, allocations: 1.188 kB / 1.108 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of Templates: time 0.01132/1.101, allocations: 5.055 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