Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001755/0.001755, allocations: 186.2 kB / 498.1 MB, free: 5.738 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.846/1.846, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001223/0.001223, allocations: 98.23 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0007131/0.0007134, allocations: 8.312 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4732, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.7099, allocations: 154.7 MB / 1.374 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.7103, allocations: 99.88 kB / 1.374 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02286/0.7331, allocations: 8.857 MB / 1.383 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.186e-06/0.7332, allocations: 0 / 1.383 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.765e-05/0.7333, allocations: 15.94 kB / 1.383 GB, free: 14.4 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.001884/0.7352, allocations: 0.7551 MB / 1.383 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.7353, allocations: 16.03 kB / 1.383 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.7356, allocations: 59.34 kB / 1.383 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.7366, allocations: 473.3 kB / 1.384 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.7367, allocations: 20.66 kB / 1.384 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.7368, allocations: 28 kB / 1.384 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000921/0.7377, allocations: 428.5 kB / 1.384 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.7377, allocations: 3.938 kB / 1.384 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/0.7378, allocations: 19.95 kB / 1.384 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.7378, allocations: 8 kB / 1.384 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.7386, allocations: 326 kB / 1.385 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.741, allocations: 1.569 MB / 1.386 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.7419, allocations: 370.9 kB / 1.387 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.7419, allocations: 4 kB / 1.387 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.742, allocations: 38.5 kB / 1.387 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 2.735e-06/0.742, allocations: 0 / 1.387 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.001138/0.7431, allocations: 487.4 kB / 1.387 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.7433, allocations: 162.2 kB / 1.387 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.7438, allocations: 377.1 kB / 1.388 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.7439, allocations: 29.7 kB / 1.388 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.7441, allocations: 252.2 kB / 1.388 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.871e-05/0.7442, allocations: 82.75 kB / 1.388 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.7442, allocations: 4 kB / 1.388 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.7444, allocations: 358.8 kB / 1.388 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.7447, allocations: 127.9 kB / 1.388 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.7451, allocations: 225.3 kB / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.7454, allocations: 147.9 kB / 1.389 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7455, allocations: 4 kB / 1.389 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008505/0.7463, allocations: 397.5 kB / 1.389 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.7464, allocations: 11.89 kB / 1.389 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.7464, allocations: 4 kB / 1.389 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.7464, allocations: 8.188 kB / 1.389 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.7467, allocations: 71.89 kB / 1.389 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.7467, allocations: 7.938 kB / 1.389 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.7471, allocations: 47.81 kB / 1.389 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.7471, allocations: 8 kB / 1.389 GB, free: 7.238 MB / 0.8855 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.0003048/0.7474, allocations: 170.5 kB / 1.39 GB, free: 7.062 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.7475, allocations: 51.42 kB / 1.39 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.7477, allocations: 51.97 kB / 1.39 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.7477, allocations: 4 kB / 1.39 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.7477, allocations: 0 / 1.39 GB, free: 6.957 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.7477, allocations: 3.984 kB / 1.39 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.7484, allocations: 477.1 kB / 1.39 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.7484, allocations: 4 kB / 1.39 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003269/0.7488, allocations: 59.95 kB / 1.39 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.7488, allocations: 0 / 1.39 GB, free: 6.375 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.7488, allocations: 8 kB / 1.39 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.7488, allocations: 7.891 kB / 1.39 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7489, allocations: 0 / 1.39 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.75, allocations: 0.6257 MB / 1.391 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.7503, allocations: 156.5 kB / 1.391 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.7504, allocations: 8 kB / 1.391 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.7507, allocations: 27.97 kB / 1.391 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.7508, allocations: 27.92 kB / 1.391 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.7508, allocations: 8.062 kB / 1.391 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003852/0.7512, allocations: 299.1 kB / 1.391 GB, free: 5.191 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.41e-07/0.7512, allocations: 0 / 1.391 GB, free: 5.191 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000441/0.7516, allocations: 71.84 kB / 1.391 GB, free: 5.121 MB / 0.8855 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.0002205/0.7519, allocations: 119 kB / 1.391 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007993/0.7527, allocations: 318 kB / 1.392 GB, free: 4.684 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.7527, allocations: 0 / 1.392 GB, free: 4.684 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.753, allocations: 163.8 kB / 1.392 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/0.7539, allocations: 111.3 kB / 1.392 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.7558, allocations: 0.8877 MB / 1.393 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.7563, allocations: 0.8307 MB / 1.394 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003248/0.7567, allocations: 39.28 kB / 1.394 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.7568, allocations: 35.42 kB / 1.394 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of SimCode: time 6.82e-07/0.7568, allocations: 0 / 1.394 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of Templates: time 0.01136/0.7681, allocations: 4.374 MB / 1.398 GB, free: 14.26 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches