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.463/1.463, allocations: 249.3 MB / 261.9 MB, free: 5.914 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.001034/0.001034, allocations: 180.4 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008161/0.000816, allocations: 94.5 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.209e-05, allocations: 4 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.714/0.9239, allocations: 137 MB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.9242, allocations: 102.8 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01636/0.9406, allocations: 6.181 MB / 1.032 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.898e-06/0.9406, allocations: 3.984 kB / 1.032 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.97e-05/0.9407, allocations: 11.98 kB / 1.032 GB, free: 8.555 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.0007341/0.9414, allocations: 0.5566 MB / 1.032 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.9415, allocations: 16.02 kB / 1.032 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.9416, allocations: 51.39 kB / 1.032 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.942, allocations: 360.6 kB / 1.033 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.942, allocations: 14.98 kB / 1.033 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.9421, allocations: 19.81 kB / 1.033 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.9425, allocations: 265.8 kB / 1.033 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.9425, allocations: 0 / 1.033 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.9425, allocations: 14.38 kB / 1.033 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.9426, allocations: 4 kB / 1.033 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.9428, allocations: 157.4 kB / 1.033 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.9441, allocations: 0.9784 MB / 1.034 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.9445, allocations: 202.9 kB / 1.034 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.9447, allocations: 80.72 kB / 1.034 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.9447, allocations: 0 / 1.034 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.9447, allocations: 42.31 kB / 1.034 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.9448, allocations: 0 / 1.034 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003479/0.9451, allocations: 181.9 kB / 1.035 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.9452, allocations: 157.5 kB / 1.035 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.9456, allocations: 309.5 kB / 1.035 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.9456, allocations: 28.77 kB / 1.035 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.9458, allocations: 193.8 kB / 1.035 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.9458, allocations: 53.66 kB / 1.035 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.9458, allocations: 7.562 kB / 1.035 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.946, allocations: 342.4 kB / 1.036 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.153e-05/0.9461, allocations: 48.86 kB / 1.036 GB, free: 5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.9463, allocations: 97.03 kB / 1.036 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.9464, allocations: 58.23 kB / 1.036 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9464, allocations: 7.938 kB / 1.036 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000297/0.9467, allocations: 191.1 kB / 1.036 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.9467, allocations: 4 kB / 1.036 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9467, allocations: 0 / 1.036 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.9468, allocations: 0 / 1.036 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.947, allocations: 43.97 kB / 1.036 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.947, allocations: 0 / 1.036 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.9473, allocations: 47.69 kB / 1.036 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.9473, allocations: 4 kB / 1.036 GB, free: 4.641 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.000106/0.9474, allocations: 120.1 kB / 1.036 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.9475, allocations: 35.58 kB / 1.036 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.514e-05/0.9476, allocations: 37.86 kB / 1.036 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.9476, allocations: 4 kB / 1.036 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9476, allocations: 0 / 1.036 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.9476, allocations: 0 / 1.036 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.9481, allocations: 384.4 kB / 1.037 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9481, allocations: 0 / 1.037 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.9483, allocations: 51.27 kB / 1.037 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.9483, allocations: 0 / 1.037 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.9483, allocations: 7.953 kB / 1.037 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9483, allocations: 4 kB / 1.037 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9483, allocations: 0 / 1.037 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.9487, allocations: 290.5 kB / 1.037 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.9489, allocations: 133.9 kB / 1.037 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.9489, allocations: 4 kB / 1.037 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.9491, allocations: 43.8 kB / 1.037 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.9492, allocations: 11.92 kB / 1.037 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.9492, allocations: 11.3 kB / 1.037 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002442/0.9495, allocations: 241.6 kB / 1.037 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9495, allocations: 0 / 1.037 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002647/0.9498, allocations: 50.22 kB / 1.037 GB, free: 3.383 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.0001403/0.9499, allocations: 107.2 kB / 1.038 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.9502, allocations: 135.4 kB / 1.038 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9502, allocations: 0 / 1.038 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.9503, allocations: 72.55 kB / 1.038 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.9508, allocations: 77.19 kB / 1.038 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007113/0.9515, allocations: 357.7 kB / 1.038 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.9519, allocations: 0.7912 MB / 1.039 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.9521, allocations: 38.08 kB / 1.039 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.9522, allocations: 23.44 kB / 1.039 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of SimCode: time 3.81e-07/0.9522, allocations: 3.938 kB / 1.039 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of Templates: time 0.00729/0.9595, allocations: 3.441 MB / 1.042 GB, free: 14.51 MB / 0.6667 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.Dzero.y,conHeaFan.conFan.Izero.k,conHeaFan.conFan.Izero.y,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.addPID.u2,conHeaFan.conFan.addPID.u3,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_reset_internal,conHeaFan.conFan.y_start,conHeaFan.conHeaCoi.Dzero.k,conHeaFan.conHeaCoi.Dzero.y,conHeaFan.conHeaCoi.Izero.k,conHeaFan.conHeaCoi.Izero.y,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.addPID.u2,conHeaFan.conHeaCoi.addPID.u3,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_reset_internal,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