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.393/2.393, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001142/0.001142, allocations: 172.9 kB / 492.3 MB, free: 0.6016 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.806/1.806, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.00124/0.00124, allocations: 99.08 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.555e-05, allocations: 3.938 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3995, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.661, allocations: 154.6 MB / 1.363 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.661, allocations: 102.2 kB / 1.363 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02139/1.683, allocations: 8.816 MB / 1.372 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.884e-06/1.683, allocations: 0 / 1.372 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.298e-05/1.683, allocations: 11.78 kB / 1.372 GB, free: 34.18 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009059/1.684, allocations: 0.6708 MB / 1.373 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.684, allocations: 7.812 kB / 1.373 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/1.684, allocations: 66.11 kB / 1.373 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006464/1.684, allocations: 472.5 kB / 1.373 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/1.684, allocations: 19.22 kB / 1.373 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/1.684, allocations: 28.69 kB / 1.373 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/1.685, allocations: 382.3 kB / 1.374 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/1.685, allocations: 7.719 kB / 1.374 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/1.685, allocations: 19.11 kB / 1.374 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/1.685, allocations: 7.766 kB / 1.374 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/1.685, allocations: 239.6 kB / 1.374 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/1.687, allocations: 1.555 MB / 1.375 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/1.688, allocations: 280.3 kB / 1.376 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/1.688, allocations: 112.2 kB / 1.376 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/1.688, allocations: 11.8 kB / 1.376 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.688, allocations: 40.81 kB / 1.376 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.303e-06/1.688, allocations: 0 / 1.376 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004525/1.688, allocations: 262.4 kB / 1.376 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/1.688, allocations: 164.2 kB / 1.376 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/1.689, allocations: 371.1 kB / 1.377 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/1.689, allocations: 29.14 kB / 1.377 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/1.689, allocations: 254.8 kB / 1.377 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/1.689, allocations: 83.88 kB / 1.377 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/1.689, allocations: 3 kB / 1.377 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.689, allocations: 355.6 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/1.689, allocations: 83.97 kB / 1.377 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/1.69, allocations: 174.9 kB / 1.378 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/1.69, allocations: 107.1 kB / 1.378 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.69, allocations: 0 / 1.378 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004104/1.69, allocations: 310.8 kB / 1.378 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.69, allocations: 8.922 kB / 1.378 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.69, allocations: 3.469 kB / 1.378 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.69, allocations: 3.875 kB / 1.378 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/1.691, allocations: 70.11 kB / 1.378 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.691, allocations: 11.94 kB / 1.378 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/1.691, allocations: 49.28 kB / 1.378 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/1.691, allocations: 10.94 kB / 1.378 GB, free: 31.23 MB / 0.8386 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 () * 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.0001012/1.691, allocations: 119.1 kB / 1.378 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/1.691, allocations: 49.25 kB / 1.378 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/1.691, allocations: 56.86 kB / 1.378 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.691, allocations: 3.875 kB / 1.378 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.691, allocations: 0 / 1.378 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/1.691, allocations: 0 / 1.378 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/1.692, allocations: 478.5 kB / 1.379 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.692, allocations: 3.938 kB / 1.379 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/1.692, allocations: 59.8 kB / 1.379 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.692, allocations: 14.34 kB / 1.379 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/1.692, allocations: 3.25 kB / 1.379 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/1.692, allocations: 3.953 kB / 1.379 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.692, allocations: 0 / 1.379 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/1.693, allocations: 0.489 MB / 1.379 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/1.693, allocations: 155 kB / 1.38 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/1.693, allocations: 5.922 kB / 1.38 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/1.693, allocations: 38.03 kB / 1.38 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/1.693, allocations: 19.81 kB / 1.38 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/1.693, allocations: 6.797 kB / 1.38 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002912/1.694, allocations: 290.8 kB / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.694, allocations: 0 / 1.38 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003192/1.694, allocations: 84.19 kB / 1.38 GB, free: 30.48 MB / 0.8386 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 () * 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.0001495/1.694, allocations: 119.4 kB / 1.38 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003723/1.694, allocations: 235.5 kB / 1.38 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.694, allocations: 0 / 1.38 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/1.695, allocations: 109.5 kB / 1.38 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/1.695, allocations: 110.8 kB / 1.38 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/1.696, allocations: 0.5081 MB / 1.381 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/1.697, allocations: 0.8307 MB / 1.382 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002021/1.697, allocations: 49.89 kB / 1.382 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.584e-05/1.697, allocations: 33.3 kB / 1.382 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of SimCode: time 1.794e-06/1.697, allocations: 0 / 1.382 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of Templates: time 0.007774/1.705, allocations: 4.399 MB / 1.386 GB, free: 27.82 MB / 0.8386 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