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.365/2.365, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001205/0.001205, allocations: 176.9 kB / 487.4 MB, free: 5.051 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.801/1.801, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001052, allocations: 103.8 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.335e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4104, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.566, allocations: 153.9 MB / 1.356 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/1.566, allocations: 97.92 kB / 1.356 GB, free: 18.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02294/1.589, allocations: 8.75 MB / 1.365 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.603e-06/1.589, allocations: 3.938 kB / 1.365 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.685e-05/1.589, allocations: 15.5 kB / 1.365 GB, free: 33.5 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.001643/1.591, allocations: 0.6711 MB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.656e-05/1.591, allocations: 7.688 kB / 1.366 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/1.591, allocations: 62.14 kB / 1.366 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/1.593, allocations: 473.4 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/1.593, allocations: 11.75 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/1.593, allocations: 19.5 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005412/1.593, allocations: 210.7 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/1.594, allocations: 341.9 kB / 1.367 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/1.594, allocations: 3.938 kB / 1.367 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/1.594, allocations: 4.391 kB / 1.367 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/1.594, allocations: 7.406 kB / 1.367 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/1.597, allocations: 1.496 MB / 1.368 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/1.598, allocations: 264.7 kB / 1.368 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/1.598, allocations: 104.7 kB / 1.369 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/1.598, allocations: 7.719 kB / 1.369 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.598, allocations: 42.45 kB / 1.369 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/1.598, allocations: 0 / 1.369 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0006876/1.599, allocations: 246.2 kB / 1.369 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.599, allocations: 158.1 kB / 1.369 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/1.599, allocations: 346 kB / 1.369 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/1.599, allocations: 25.7 kB / 1.369 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/1.6, allocations: 259.6 kB / 1.37 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/1.6, allocations: 78.7 kB / 1.37 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/1.6, allocations: 0 / 1.37 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000237/1.6, allocations: 352.4 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/1.6, allocations: 84.56 kB / 1.37 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/1.6, allocations: 169.8 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/1.601, allocations: 95.94 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.601, allocations: 0 / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005136/1.601, allocations: 283.6 kB / 1.371 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/1.601, allocations: 11.41 kB / 1.371 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.601, allocations: 0 / 1.371 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/1.601, allocations: 11.83 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/1.602, allocations: 70.45 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.602, allocations: 3.812 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/1.602, allocations: 40.55 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/1.602, allocations: 17.19 kB / 1.371 GB, free: 30.61 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.0001539/1.602, allocations: 110.2 kB / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.602, allocations: 46.78 kB / 1.371 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/1.602, allocations: 45.16 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.602, allocations: 7.844 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.602, allocations: 3.953 kB / 1.371 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/1.602, allocations: 6.953 kB / 1.371 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/1.603, allocations: 421.2 kB / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.603, allocations: 0 / 1.371 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/1.603, allocations: 65.47 kB / 1.371 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.603, allocations: 0 / 1.371 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/1.603, allocations: 7.016 kB / 1.371 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.603, allocations: 3.984 kB / 1.371 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.603, allocations: 4 kB / 1.371 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/1.604, allocations: 486.1 kB / 1.372 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.604, allocations: 157.1 kB / 1.372 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/1.604, allocations: 3.984 kB / 1.372 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/1.605, allocations: 33.33 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/1.605, allocations: 17.34 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/1.605, allocations: 3.812 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003395/1.605, allocations: 267.4 kB / 1.372 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.605, allocations: 0 / 1.372 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003865/1.605, allocations: 69.09 kB / 1.372 GB, free: 29.88 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.0002212/1.606, allocations: 108.9 kB / 1.372 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003902/1.606, allocations: 216.4 kB / 1.373 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.606, allocations: 0 / 1.373 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/1.606, allocations: 110.5 kB / 1.373 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/1.607, allocations: 102.4 kB / 1.373 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/1.608, allocations: 0.5052 MB / 1.373 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/1.608, allocations: 0.8295 MB / 1.374 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002268/1.609, allocations: 50.89 kB / 1.374 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/1.609, allocations: 29.75 kB / 1.374 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.609, allocations: 3.844 kB / 1.374 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.008701/1.618, allocations: 3.963 MB / 1.378 GB, free: 28.55 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