Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 179.5 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 87.91 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.352e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2753, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8552/1.131, allocations: 137.3 MB / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/1.131, allocations: 101.4 kB / 1.019 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01902/1.15, allocations: 6.156 MB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.244e-06/1.15, allocations: 4 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.549e-05/1.15, allocations: 4 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001057/1.151, allocations: 0.5671 MB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/1.151, allocations: 8.031 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/1.151, allocations: 51.27 kB / 1.026 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/1.152, allocations: 351.4 kB / 1.026 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/1.152, allocations: 8 kB / 1.026 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/1.152, allocations: 8 kB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003949/1.153, allocations: 142.7 kB / 1.026 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/1.153, allocations: 243.1 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.153, allocations: 0 / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/1.153, allocations: 0 / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/1.153, allocations: 4 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/1.155, allocations: 0.9271 MB / 1.028 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/1.156, allocations: 183.7 kB / 1.028 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/1.156, allocations: 78.8 kB / 1.028 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/1.156, allocations: 7.984 kB / 1.028 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.156, allocations: 38.25 kB / 1.028 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/1.156, allocations: 0 / 1.028 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005108/1.156, allocations: 173 kB / 1.028 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.157, allocations: 154.2 kB / 1.028 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/1.157, allocations: 267.6 kB / 1.028 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/1.157, allocations: 25.7 kB / 1.029 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/1.157, allocations: 196.6 kB / 1.029 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/1.157, allocations: 45.98 kB / 1.029 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/1.157, allocations: 0 / 1.029 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.158, allocations: 339.9 kB / 1.029 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/1.158, allocations: 51.8 kB / 1.029 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/1.158, allocations: 102.9 kB / 1.029 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/1.158, allocations: 54.42 kB / 1.029 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.158, allocations: 0 / 1.029 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003648/1.158, allocations: 172.8 kB / 1.029 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.158, allocations: 7.953 kB / 1.029 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.158, allocations: 0 / 1.029 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.158, allocations: 0 / 1.029 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/1.159, allocations: 47.97 kB / 1.029 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.159, allocations: 3.984 kB / 1.029 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/1.159, allocations: 47.7 kB / 1.03 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/1.159, allocations: 11.42 kB / 1.03 GB, free: 7.645 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001311/1.159, allocations: 105 kB / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/1.159, allocations: 31.62 kB / 1.03 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/1.159, allocations: 36.62 kB / 1.03 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.16, allocations: 4 kB / 1.03 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.16, allocations: 0 / 1.03 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.16, allocations: 0 / 1.03 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/1.16, allocations: 330.6 kB / 1.03 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.16, allocations: 4 kB / 1.03 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/1.16, allocations: 51.89 kB / 1.03 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/1.161, allocations: 4 kB / 1.03 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/1.161, allocations: 0 / 1.03 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.161, allocations: 0 / 1.03 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.161, allocations: 3.953 kB / 1.03 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/1.161, allocations: 276.4 kB / 1.03 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/1.161, allocations: 130 kB / 1.03 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/1.161, allocations: 0 / 1.03 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/1.162, allocations: 31.97 kB / 1.031 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/1.162, allocations: 11.48 kB / 1.031 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/1.162, allocations: 7.953 kB / 1.031 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003046/1.162, allocations: 214.1 kB / 1.031 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.91e-07/1.162, allocations: 4 kB / 1.031 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004334/1.163, allocations: 51.78 kB / 1.031 GB, free: 6.488 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0002132/1.163, allocations: 99.19 kB / 1.031 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003277/1.163, allocations: 119.9 kB / 1.031 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.163, allocations: 0 / 1.031 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/1.163, allocations: 79.67 kB / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/1.164, allocations: 69.92 kB / 1.031 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/1.165, allocations: 348.2 kB / 1.031 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/1.165, allocations: 0.7796 MB / 1.032 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002167/1.166, allocations: 38.09 kB / 1.032 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.762e-05/1.166, allocations: 19.44 kB / 1.032 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/1.166, allocations: 0 / 1.032 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of Templates: time 0.009335/1.175, allocations: 3.04 MB / 1.035 GB, free: 2.074 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","../files/Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,conHeaFan.yHea,conHeaFan.yFan,conHeaFan.TSetRooCoo,conHeaFan.TRoo,conHeaFan.TSetRooHea Variables in the result:conHeaFan.TRoo,conHeaFan.TSetRooCoo,conHeaFan.TSetRooHea,conHeaFan.conFan.Dzero.k,conHeaFan.conFan.Izero.k,conHeaFan.conFan.Nd,conHeaFan.conFan.Ni,conHeaFan.conFan.P.k,conHeaFan.conFan.Td,conHeaFan.conFan.Ti,conHeaFan.conFan.addP.k1,conHeaFan.conFan.addP.k2,conHeaFan.conFan.addPID.k1,conHeaFan.conFan.addPID.k2,conHeaFan.conFan.addPID.k3,conHeaFan.conFan.controllerType,conHeaFan.conFan.gainPID.k,conHeaFan.conFan.initType,conHeaFan.conFan.k,conHeaFan.conFan.limiter.limitsAtInit,conHeaFan.conFan.limiter.strict,conHeaFan.conFan.limiter.uMax,conHeaFan.conFan.limiter.uMin,conHeaFan.conFan.reset,conHeaFan.conFan.revAct,conHeaFan.conFan.reverseAction,conHeaFan.conFan.strict,conHeaFan.conFan.wd,conHeaFan.conFan.with_D,conHeaFan.conFan.with_I,conHeaFan.conFan.wp,conHeaFan.conFan.xd_start,conHeaFan.conFan.xi_start,conHeaFan.conFan.yMax,conHeaFan.conFan.yMin,conHeaFan.conFan.y_reset,conHeaFan.conFan.y_start,conHeaFan.conHeaCoi.Dzero.k,conHeaFan.conHeaCoi.Izero.k,conHeaFan.conHeaCoi.Nd,conHeaFan.conHeaCoi.Ni,conHeaFan.conHeaCoi.P.k,conHeaFan.conHeaCoi.Td,conHeaFan.conHeaCoi.Ti,conHeaFan.conHeaCoi.addP.k1,conHeaFan.conHeaCoi.addP.k2,conHeaFan.conHeaCoi.addPID.k1,conHeaFan.conHeaCoi.addPID.k2,conHeaFan.conHeaCoi.addPID.k3,conHeaFan.conHeaCoi.controllerType,conHeaFan.conHeaCoi.gainPID.k,conHeaFan.conHeaCoi.initType,conHeaFan.conHeaCoi.k,conHeaFan.conHeaCoi.limiter.limitsAtInit,conHeaFan.conHeaCoi.limiter.strict,conHeaFan.conHeaCoi.limiter.uMax,conHeaFan.conHeaCoi.limiter.uMin,conHeaFan.conHeaCoi.reset,conHeaFan.conHeaCoi.revAct,conHeaFan.conHeaCoi.reverseAction,conHeaFan.conHeaCoi.strict,conHeaFan.conHeaCoi.wd,conHeaFan.conHeaCoi.with_D,conHeaFan.conHeaCoi.with_I,conHeaFan.conHeaCoi.wp,conHeaFan.conHeaCoi.xd_start,conHeaFan.conHeaCoi.xi_start,conHeaFan.conHeaCoi.yMax,conHeaFan.conHeaCoi.yMin,conHeaFan.conHeaCoi.y_reset,conHeaFan.conHeaCoi.y_start,conHeaFan.kFan,conHeaFan.kHea,conHeaFan.minAirFlo,conHeaFan.yFan,conHeaFan.yHea,time,zonCooSet.amplitude,zonCooSet.freqHz,zonCooSet.offset,zonCooSet.phase,zonCooSet.startTime,zonHeaSet.amplitude,zonHeaSet.freqHz,zonHeaSet.offset,zonHeaSet.phase,zonHeaSet.startTime,zonTem.amplitude,zonTem.freqHz,zonTem.offset,zonTem.phase,zonTem.startTime