Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.278/2.278, allocations: 390.3 MB / 402.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008906/0.0008907, allocations: 90.36 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.083e-05/4.086e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2936, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.402, allocations: 154.7 MB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/1.403, allocations: 88.06 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01974/1.422, allocations: 7.399 MB / 1.377 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/1.422, allocations: 0 / 1.377 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.291e-05/1.423, allocations: 12 kB / 1.377 GB, free: 9.012 MB / 0.8386 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.001359/1.424, allocations: 0.6557 MB / 1.378 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.424, allocations: 12.03 kB / 1.378 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/1.424, allocations: 51.34 kB / 1.378 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007946/1.425, allocations: 393.4 kB / 1.378 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.509e-05/1.425, allocations: 30.62 kB / 1.378 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-05/1.425, allocations: 46.88 kB / 1.378 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/1.426, allocations: 413.1 kB / 1.379 GB, free: 7.578 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.426, allocations: 0 / 1.379 GB, free: 7.578 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/1.426, allocations: 18.56 kB / 1.379 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/1.426, allocations: 12 kB / 1.379 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/1.426, allocations: 287.7 kB / 1.379 GB, free: 7.383 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/1.429, allocations: 1.366 MB / 1.38 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/1.429, allocations: 273 kB / 1.381 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/1.429, allocations: 124.1 kB / 1.381 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/1.429, allocations: 4.234 kB / 1.381 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/1.43, allocations: 219.4 kB / 1.381 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/1.43, allocations: 0 / 1.381 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004891/1.43, allocations: 263.9 kB / 1.381 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.43, allocations: 162 kB / 1.381 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/1.431, allocations: 346 kB / 1.382 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/1.431, allocations: 32.77 kB / 1.382 GB, free: 5.164 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/1.431, allocations: 224.2 kB / 1.382 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.188e-05/1.431, allocations: 92.72 kB / 1.382 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/1.431, allocations: 11.94 kB / 1.382 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.431, allocations: 348 kB / 1.382 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/1.431, allocations: 113 kB / 1.382 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/1.432, allocations: 171.1 kB / 1.383 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/1.432, allocations: 155.5 kB / 1.383 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.432, allocations: 0 / 1.383 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006147/1.433, allocations: 388.4 kB / 1.383 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/1.433, allocations: 308.6 kB / 1.383 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.433, allocations: 0 / 1.383 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.433, allocations: 7.984 kB / 1.383 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/1.433, allocations: 59.22 kB / 1.384 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.433, allocations: 0 / 1.384 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/1.433, allocations: 91.11 kB / 1.384 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/1.433, allocations: 19.05 kB / 1.384 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/1.433, allocations: 5.719 kB / 1.384 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005235/1.434, allocations: 335.4 kB / 1.384 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.434, allocations: 4.016 kB / 1.384 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/1.434, allocations: 12.05 kB / 1.384 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/1.434, allocations: 51.92 kB / 1.384 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/1.434, allocations: 3.938 kB / 1.384 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/1.435, allocations: 85.86 kB / 1.384 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/1.435, allocations: 19.48 kB / 1.384 GB, free: 3.082 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.435, allocations: 123.4 kB / 1.384 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/1.435, allocations: 35.53 kB / 1.384 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/1.435, allocations: 320 kB / 1.385 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.435, allocations: 0 / 1.385 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.435, allocations: 7.938 kB / 1.385 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.435, allocations: 4 kB / 1.385 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/1.436, allocations: 0.8406 MB / 1.385 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/1.436, allocations: 4 kB / 1.385 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/1.437, allocations: 59.28 kB / 1.385 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.437, allocations: 3.984 kB / 1.385 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/1.437, allocations: 7.531 kB / 1.385 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.437, allocations: 8 kB / 1.385 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.437, allocations: 0 / 1.385 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/1.438, allocations: 0.5537 MB / 1.386 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.703e-05/1.438, allocations: 126.1 kB / 1.386 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/1.438, allocations: 6.312 kB / 1.386 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/1.438, allocations: 29.28 kB / 1.386 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/1.438, allocations: 22.55 kB / 1.386 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/1.438, allocations: 10.94 kB / 1.386 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000296/1.438, allocations: 276.3 kB / 1.386 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.6e-07/1.438, allocations: 0 / 1.386 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005231/1.439, allocations: 161.5 kB / 1.387 GB, free: 0.9141 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002143/1.439, allocations: 126.1 kB / 1.387 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009585/1.44, allocations: 0.5675 MB / 1.387 GB, free: 356 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.44, allocations: 0 / 1.387 GB, free: 356 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/1.44, allocations: 129.5 kB / 1.387 GB, free: 264 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/1.441, allocations: 61.17 kB / 1.387 GB, free: 224 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/1.442, allocations: 0.4957 MB / 1.388 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/1.443, allocations: 0.8166 MB / 1.389 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003055/1.443, allocations: 65.23 kB / 1.389 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.277e-05/1.443, allocations: 34.48 kB / 1.389 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/1.443, allocations: 0 / 1.389 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of Templates: time 0.01175/1.455, allocations: 5.032 MB / 1.394 GB, free: 9.871 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches