Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 249.3 MB / 261.8 MB, free: 5.836 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.001068/0.001068, allocations: 192.8 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.504/1.504, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008367/0.0008367, allocations: 94.41 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.393e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2055, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6672/0.8728, allocations: 139.4 MB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.8731, allocations: 86.14 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02201/0.8951, allocations: 8.803 MB / 1.037 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8952, allocations: 0 / 1.037 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.818e-05/0.8952, allocations: 12.88 kB / 1.037 GB, free: 3.91 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001274/0.8965, allocations: 0.7337 MB / 1.037 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8965, allocations: 12.03 kB / 1.037 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.8967, allocations: 67.25 kB / 1.037 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/0.8973, allocations: 417.6 kB / 1.038 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.8973, allocations: 37.62 kB / 1.038 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.8974, allocations: 47.12 kB / 1.038 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008058/0.8982, allocations: 0.5097 MB / 1.038 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.8983, allocations: 0 / 1.038 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.8983, allocations: 29.06 kB / 1.038 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.8983, allocations: 8 kB / 1.038 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.8989, allocations: 338.9 kB / 1.039 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.9012, allocations: 1.908 MB / 1.041 GB, free: 440 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.9018, allocations: 294 kB / 1.041 GB, free: 240 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.902, allocations: 128.2 kB / 1.041 GB, free: 160 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.9021, allocations: 7.438 kB / 1.041 GB, free: 156 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.9024, allocations: 191.8 kB / 1.041 GB, free: 0 / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.9024, allocations: 0 / 1.041 GB, free: 0 / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0005423/0.903, allocations: 294 kB / 1.042 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.903, allocations: 106.8 kB / 1.042 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.9034, allocations: 363.5 kB / 1.042 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.9035, allocations: 44.08 kB / 1.042 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.9036, allocations: 256.8 kB / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.9037, allocations: 92.52 kB / 1.042 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.9037, allocations: 11.62 kB / 1.042 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9039, allocations: 356.8 kB / 1.043 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.9041, allocations: 121.4 kB / 1.043 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.9044, allocations: 240.1 kB / 1.043 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.9046, allocations: 161.2 kB / 1.043 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9047, allocations: 4 kB / 1.043 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006814/0.9053, allocations: 455.9 kB / 1.044 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.9054, allocations: 37.69 kB / 1.044 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.9054, allocations: 0 / 1.044 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.9054, allocations: 8 kB / 1.044 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.9058, allocations: 79.2 kB / 1.044 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.9058, allocations: 15.97 kB / 1.044 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.9062, allocations: 78.64 kB / 1.044 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.9063, allocations: 15.31 kB / 1.044 GB, free: 13.73 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.0001349/0.9064, allocations: 155.3 kB / 1.044 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.9065, allocations: 43.47 kB / 1.044 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/0.907, allocations: 338.8 kB / 1.044 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.9071, allocations: 7.984 kB / 1.044 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9071, allocations: 0 / 1.044 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.9071, allocations: 7.984 kB / 1.044 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.9083, allocations: 0.9123 MB / 1.045 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.9083, allocations: 7.984 kB / 1.045 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.9086, allocations: 55.84 kB / 1.045 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.9086, allocations: 7.984 kB / 1.045 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.9087, allocations: 2.688 kB / 1.045 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.9087, allocations: 8.031 kB / 1.045 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9087, allocations: 3.953 kB / 1.045 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.9095, allocations: 0.5683 MB / 1.046 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.9096, allocations: 151.2 kB / 1.046 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.9097, allocations: 7.188 kB / 1.046 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.9101, allocations: 59.03 kB / 1.046 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.9102, allocations: 52.55 kB / 1.046 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.9102, allocations: 11.25 kB / 1.046 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002768/0.9105, allocations: 267.8 kB / 1.046 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9105, allocations: 3.938 kB / 1.046 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003867/0.9109, allocations: 98.45 kB / 1.047 GB, free: 11.49 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001925/0.9111, allocations: 124.7 kB / 1.047 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005646/0.9117, allocations: 376.1 kB / 1.047 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.9117, allocations: 0 / 1.047 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.912, allocations: 153.2 kB / 1.047 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.9124, allocations: 78.41 kB / 1.047 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.9134, allocations: 0.5316 MB / 1.048 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.9138, allocations: 0.8358 MB / 1.049 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002095/0.914, allocations: 55.39 kB / 1.049 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.9142, allocations: 35.42 kB / 1.049 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of SimCode: time 3.3e-07/0.9142, allocations: 0 / 1.049 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of Templates: time 0.008869/0.923, allocations: 4.808 MB / 1.053 GB, free: 4.754 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_DualFanDualDuct_Controls_Examples_PreHeatCoil.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches