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.416/2.416, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001269/0.001269, allocations: 191 kB / 0.4902 GB, free: 2.281 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.771/1.771, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.001448/0.001448, allocations: 96.22 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004648, allocations: 10.5 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4521, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/0.6925, allocations: 154.8 MB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/0.693, allocations: 87.94 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02057/0.7135, allocations: 7.415 MB / 1.388 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.777e-06/0.7136, allocations: 0 / 1.388 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.79e-05/0.7137, allocations: 19.98 kB / 1.388 GB, free: 7.184 MB / 0.8855 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.001449/0.7151, allocations: 0.7129 MB / 1.388 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.7152, allocations: 12.56 kB / 1.388 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.7154, allocations: 51.44 kB / 1.388 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007609/0.7161, allocations: 391.1 kB / 1.389 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.7162, allocations: 33 kB / 1.389 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.729e-05/0.7163, allocations: 40 kB / 1.389 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.7172, allocations: 434.1 kB / 1.389 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.7172, allocations: 4 kB / 1.389 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.7173, allocations: 16 kB / 1.389 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.7173, allocations: 15.94 kB / 1.389 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007123/0.718, allocations: 323.9 kB / 1.39 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.7203, allocations: 1.363 MB / 1.391 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007359/0.7211, allocations: 301.6 kB / 1.391 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.7211, allocations: 4.234 kB / 1.391 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/0.7217, allocations: 227.5 kB / 1.392 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.7217, allocations: 0 / 1.392 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.0009243/0.7226, allocations: 402.1 kB / 1.392 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.7227, allocations: 158.2 kB / 1.392 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.7232, allocations: 368.6 kB / 1.392 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.7233, allocations: 33.7 kB / 1.392 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.7235, allocations: 216.4 kB / 1.393 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.7236, allocations: 98.55 kB / 1.393 GB, free: 1.785 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.7236, allocations: 11.94 kB / 1.393 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.7238, allocations: 346.8 kB / 1.393 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.7241, allocations: 131.9 kB / 1.393 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.7245, allocations: 191.1 kB / 1.393 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.7248, allocations: 170 kB / 1.394 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.7248, allocations: 4 kB / 1.394 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007964/0.7256, allocations: 420 kB / 1.394 GB, free: 496 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002525/0.7259, allocations: 309.1 kB / 1.394 GB, free: 160 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7259, allocations: 4.031 kB / 1.394 GB, free: 156 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.726, allocations: 4 kB / 1.394 GB, free: 152 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.7262, allocations: 55.91 kB / 1.394 GB, free: 96 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.7263, allocations: 4 kB / 1.394 GB, free: 92 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.7266, allocations: 83.55 kB / 1.394 GB, free: 8 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.7267, allocations: 20.05 kB / 1.394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.7267, allocations: 4 kB / 1.394 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006395/0.7274, allocations: 350.6 kB / 1.395 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/0.7274, allocations: 0 / 1.395 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-06/0.7274, allocations: 12 kB / 1.395 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.7276, allocations: 55.91 kB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.7277, allocations: 4 kB / 1.395 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.728, allocations: 83.58 kB / 1.395 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.728, allocations: 15.98 kB / 1.395 GB, free: 15.47 MB / 0.9011 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 () * Number of clocked 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.0002991/0.7283, allocations: 241.1 kB / 1.395 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.7284, allocations: 39.47 kB / 1.395 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000711/0.7291, allocations: 349.5 kB / 1.396 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7291, allocations: 4 kB / 1.396 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.7292, allocations: 0 / 1.396 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.7292, allocations: 7.984 kB / 1.396 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.7305, allocations: 0.8715 MB / 1.396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.7305, allocations: 0 / 1.396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.7308, allocations: 55.91 kB / 1.396 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.7308, allocations: 4 kB / 1.396 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.7308, allocations: 12.06 kB / 1.396 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7308, allocations: 0 / 1.396 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7309, allocations: 3.984 kB / 1.396 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.7318, allocations: 0.6127 MB / 1.397 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.7319, allocations: 132.4 kB / 1.397 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.732, allocations: 8 kB / 1.397 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.7322, allocations: 32.03 kB / 1.397 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.7323, allocations: 19.94 kB / 1.397 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.7323, allocations: 15.98 kB / 1.397 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003371/0.7327, allocations: 275.2 kB / 1.398 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7327, allocations: 0 / 1.398 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005652/0.7333, allocations: 163.6 kB / 1.398 GB, free: 12.5 MB / 0.9011 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 () * Number of clocked 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.0002471/0.7335, allocations: 124 kB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.7346, allocations: 0.5883 MB / 1.398 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7346, allocations: 0 / 1.398 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.7349, allocations: 149.5 kB / 1.398 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.7353, allocations: 63.09 kB / 1.399 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.7367, allocations: 0.8083 MB / 1.399 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.7372, allocations: 0.8202 MB / 1.4 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.7374, allocations: 51.23 kB / 1.4 GB, free: 9.812 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.464e-05/0.7375, allocations: 39.42 kB / 1.4 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of SimCode: time 6.51e-07/0.7375, allocations: 7.938 kB / 1.4 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of Templates: time 0.009861/0.7474, allocations: 4.537 MB / 1.405 GB, free: 5.301 MB / 0.9011 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