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.382/1.382, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001633/0.001633, allocations: 185.2 kB / 326.5 MB, free: 2.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 2.06/2.06, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009121/0.0009119, allocations: 84.86 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 10.03 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2684, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.4635, allocations: 137.1 MB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/0.464, allocations: 99.94 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.4802, allocations: 6.214 MB / 1.04 GB, free: 360 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.367e-06/0.4803, allocations: 0 / 1.04 GB, free: 360 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.982e-05/0.4803, allocations: 12 kB / 1.04 GB, free: 348 kB / 0.6823 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.001048/0.4814, allocations: 0.6307 MB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4814, allocations: 8.031 kB / 1.041 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.4815, allocations: 51.39 kB / 1.041 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.4821, allocations: 349.2 kB / 1.041 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.4821, allocations: 24.38 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.4821, allocations: 16 kB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.4827, allocations: 310 kB / 1.041 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4827, allocations: 0 / 1.041 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.4828, allocations: 15.94 kB / 1.041 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4828, allocations: 4 kB / 1.041 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.4833, allocations: 248.9 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.4847, allocations: 0.9782 MB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.4855, allocations: 294.6 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.4855, allocations: 7.984 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.4855, allocations: 34.5 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.4855, allocations: 0 / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0008687/0.4864, allocations: 378.8 kB / 1.043 GB, free: 12.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/0.4865, allocations: 158.2 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.4869, allocations: 316.9 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.4869, allocations: 29.7 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.4871, allocations: 196.2 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.4871, allocations: 47.36 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.4871, allocations: 0 / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4873, allocations: 346.8 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.4876, allocations: 99.94 kB / 1.045 GB, free: 11.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.4878, allocations: 144.2 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.4881, allocations: 103.4 kB / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4881, allocations: 0 / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005297/0.4886, allocations: 277.1 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4887, allocations: 7.984 kB / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4887, allocations: 0 / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.4887, allocations: 0 / 1.045 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.4889, allocations: 51.91 kB / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.4889, allocations: 3.984 kB / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.4892, allocations: 43.81 kB / 1.045 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.4892, allocations: 4 kB / 1.045 GB, free: 10.96 MB / 0.698 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 () * Number of clocked 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.0001733/0.4894, allocations: 149.8 kB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.4894, allocations: 35.58 kB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.847e-05/0.4895, allocations: 43.16 kB / 1.045 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4895, allocations: 0 / 1.045 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4896, allocations: 0 / 1.045 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4896, allocations: 8.031 kB / 1.045 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.49, allocations: 381.2 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.49, allocations: 0 / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.4902, allocations: 55.89 kB / 1.046 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4903, allocations: 0 / 1.046 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.4903, allocations: 11.95 kB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4903, allocations: 0 / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4903, allocations: 0 / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.4909, allocations: 371 kB / 1.046 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.4911, allocations: 140.5 kB / 1.046 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.4911, allocations: 0 / 1.046 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.4914, allocations: 39.92 kB / 1.046 GB, free: 9.652 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.4915, allocations: 23.86 kB / 1.046 GB, free: 9.629 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.4915, allocations: 7.984 kB / 1.046 GB, free: 9.621 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003072/0.4918, allocations: 255.2 kB / 1.047 GB, free: 9.371 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4918, allocations: 0 / 1.047 GB, free: 9.371 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002958/0.4921, allocations: 51.84 kB / 1.047 GB, free: 9.32 MB / 0.698 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 () * Number of clocked 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.0001903/0.4923, allocations: 99.25 kB / 1.047 GB, free: 9.215 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006433/0.493, allocations: 234.8 kB / 1.047 GB, free: 8.988 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.493, allocations: 0 / 1.047 GB, free: 8.988 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.4933, allocations: 115.9 kB / 1.047 GB, free: 8.875 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000631/0.4939, allocations: 83.47 kB / 1.047 GB, free: 8.797 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.4951, allocations: 0.6168 MB / 1.048 GB, free: 8.148 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.4956, allocations: 0.7874 MB / 1.048 GB, free: 7.332 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001522/0.4958, allocations: 34.28 kB / 1.049 GB, free: 7.301 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.4959, allocations: 27.42 kB / 1.049 GB, free: 7.273 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/0.4959, allocations: 0 / 1.049 GB, free: 7.273 MB / 0.698 GB Notification: Performance of Templates: time 0.008346/0.5043, allocations: 3.414 MB / 1.052 GB, free: 3.949 MB / 0.698 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