Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.84/2.84, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001262/0.001262, allocations: 184 kB / 0.4902 GB, free: 2.223 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.733/1.733, allocations: 223.2 MB / 0.7992 GB, free: 14.8 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.001284/0.001284, allocations: 108 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004225, allocations: 11.03 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3902, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2459/0.6362, allocations: 155.4 MB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.6365, allocations: 95.94 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02389/0.6604, allocations: 8.866 MB / 1.39 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6605, allocations: 3.938 kB / 1.39 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.549e-05/0.6606, allocations: 12 kB / 1.39 GB, free: 5.125 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00171/0.6623, allocations: 0.7512 MB / 1.391 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.6624, allocations: 8.562 kB / 1.391 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.6625, allocations: 55.34 kB / 1.391 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008506/0.6634, allocations: 481.3 kB / 1.391 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.6634, allocations: 20.66 kB / 1.391 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.6635, allocations: 28 kB / 1.391 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008498/0.6643, allocations: 428.5 kB / 1.392 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6644, allocations: 3.938 kB / 1.392 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/0.6644, allocations: 19.95 kB / 1.392 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.6644, allocations: 8 kB / 1.392 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007136/0.6652, allocations: 326 kB / 1.392 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.6674, allocations: 1.561 MB / 1.393 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008785/0.6683, allocations: 378.8 kB / 1.394 GB, free: 0.8828 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.6683, allocations: 3.984 kB / 1.394 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.6684, allocations: 38.56 kB / 1.394 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 2.355e-06/0.6684, allocations: 0 / 1.394 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.001114/0.6695, allocations: 488.4 kB / 1.394 GB, free: 360 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.6697, allocations: 158.2 kB / 1.394 GB, free: 164 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.6702, allocations: 373.1 kB / 1.395 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.6703, allocations: 33.7 kB / 1.395 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.6705, allocations: 260.2 kB / 1.395 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.6706, allocations: 70.86 kB / 1.395 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.6706, allocations: 4 kB / 1.395 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.6708, allocations: 362.7 kB / 1.395 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.6712, allocations: 131.9 kB / 1.396 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.6716, allocations: 226.1 kB / 1.396 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.6719, allocations: 145.7 kB / 1.396 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6719, allocations: 0 / 1.396 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008153/0.6728, allocations: 410.1 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.6728, allocations: 11.89 kB / 1.396 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.6728, allocations: 0 / 1.396 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.6728, allocations: 4 kB / 1.396 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.6732, allocations: 72.14 kB / 1.396 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6732, allocations: 3.938 kB / 1.396 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.6735, allocations: 51.72 kB / 1.396 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.6735, allocations: 12 kB / 1.396 GB, free: 13.97 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.000273/0.6738, allocations: 174.8 kB / 1.397 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/0.6739, allocations: 51.42 kB / 1.397 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.674, allocations: 47.97 kB / 1.397 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6741, allocations: 0 / 1.397 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.6741, allocations: 0 / 1.397 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.6741, allocations: 3.984 kB / 1.397 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006306/0.6747, allocations: 481.2 kB / 1.397 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6747, allocations: 4 kB / 1.397 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.6751, allocations: 59.95 kB / 1.397 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.6751, allocations: 0 / 1.397 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.6752, allocations: 8 kB / 1.397 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.6752, allocations: 7.891 kB / 1.397 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6752, allocations: 0 / 1.397 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.6764, allocations: 0.6197 MB / 1.398 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.6766, allocations: 152.5 kB / 1.398 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.6767, allocations: 12.06 kB / 1.398 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.6769, allocations: 31.97 kB / 1.398 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.677, allocations: 19.92 kB / 1.398 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.6771, allocations: 8 kB / 1.398 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003738/0.6774, allocations: 299.1 kB / 1.398 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6775, allocations: 11.88 kB / 1.398 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003774/0.6778, allocations: 75.69 kB / 1.398 GB, free: 11.84 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002168/0.6781, allocations: 111.2 kB / 1.399 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007754/0.6788, allocations: 320.6 kB / 1.399 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.6789, allocations: 4 kB / 1.399 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.6792, allocations: 153.9 kB / 1.399 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/0.68, allocations: 114.7 kB / 1.399 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.6817, allocations: 0.882 MB / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.6822, allocations: 0.8268 MB / 1.401 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.6824, allocations: 47.27 kB / 1.401 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.516e-05/0.6825, allocations: 31.42 kB / 1.401 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of SimCode: time 3.5e-07/0.6825, allocations: 0 / 1.401 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of Templates: time 0.009898/0.6924, allocations: 4.378 MB / 1.405 GB, free: 5.012 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches