Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001874/0.001874, allocations: 171 kB / 498.1 MB, free: 5.766 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.594/1.594, allocations: 223.2 MB / 0.7949 GB, free: 17.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 92.33 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 10.5 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.4801, allocations: 151.2 MB / 1.371 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4803, allocations: 83.95 kB / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01628/0.4966, allocations: 5.348 MB / 1.376 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4967, allocations: 3.938 kB / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.4967, allocations: 0 / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005039/0.4972, allocations: 416.5 kB / 1.376 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4973, allocations: 8.031 kB / 1.376 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.4974, allocations: 15.86 kB / 1.376 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.4976, allocations: 200.4 kB / 1.376 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4976, allocations: 0 / 1.376 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.4977, allocations: 4 kB / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4978, allocations: 65.67 kB / 1.377 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4979, allocations: 0 / 1.377 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4979, allocations: 0 / 1.377 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.4979, allocations: 3.984 kB / 1.377 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.4981, allocations: 51.97 kB / 1.377 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.4986, allocations: 308.8 kB / 1.377 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.4987, allocations: 58.55 kB / 1.377 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.4988, allocations: 0 / 1.377 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4988, allocations: 34.69 kB / 1.377 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.4988, allocations: 0 / 1.377 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0003645/0.4992, allocations: 129.4 kB / 1.377 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.4992, allocations: 55.41 kB / 1.377 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.4993, allocations: 122.2 kB / 1.377 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4993, allocations: 25.7 kB / 1.377 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.4994, allocations: 96.2 kB / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.4994, allocations: 19.67 kB / 1.377 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.4994, allocations: 4 kB / 1.377 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4996, allocations: 318.8 kB / 1.378 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.4997, allocations: 27.98 kB / 1.378 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-05/0.4997, allocations: 28.22 kB / 1.378 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.216e-05/0.4998, allocations: 28.12 kB / 1.378 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4998, allocations: 4 kB / 1.378 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002262/0.5001, allocations: 97.56 kB / 1.378 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.5001, allocations: 4 kB / 1.378 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.5001, allocations: 7.938 kB / 1.378 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5001, allocations: 0 / 1.378 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.5002, allocations: 15.98 kB / 1.378 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5003, allocations: 7.953 kB / 1.378 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.5003, allocations: 7.984 kB / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.5004, allocations: 4 kB / 1.378 GB, free: 3.074 MB / 0.8698 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 (6): * Single equations (assignments): 6 * 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 9.156e-05/0.5004, allocations: 109.8 kB / 1.378 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.5005, allocations: 11.84 kB / 1.378 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.5008, allocations: 117.9 kB / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5008, allocations: 0 / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5008, allocations: 0 / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.5009, allocations: 3.953 kB / 1.378 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.5011, allocations: 181.6 kB / 1.378 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5011, allocations: 0 / 1.378 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.191e-05/0.5012, allocations: 15.98 kB / 1.378 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5012, allocations: 0 / 1.378 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5012, allocations: 4 kB / 1.378 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5012, allocations: 0 / 1.378 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5012, allocations: 0 / 1.378 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.5015, allocations: 195.4 kB / 1.379 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.5015, allocations: 92.95 kB / 1.379 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.5016, allocations: 192 / 1.379 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.5017, allocations: 11.98 kB / 1.379 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.5017, allocations: 11.94 kB / 1.379 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.5017, allocations: 3.984 kB / 1.379 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.5018, allocations: 101.5 kB / 1.379 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.473e-06/0.5018, allocations: 0 / 1.379 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002413/0.502, allocations: 27.94 kB / 1.379 GB, free: 2.105 MB / 0.8698 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 (6): * Single equations (assignments): 6 * 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.0002011/0.5022, allocations: 123 kB / 1.379 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.5025, allocations: 63.95 kB / 1.379 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5025, allocations: 0 / 1.379 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.969e-05/0.5026, allocations: 39.92 kB / 1.379 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.5028, allocations: 15.94 kB / 1.379 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.5032, allocations: 210.5 kB / 1.379 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5035, allocations: 0.7004 MB / 1.38 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.494e-05/0.5035, allocations: 4.188 kB / 1.38 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.5036, allocations: 7.438 kB / 1.38 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.5036, allocations: 0 / 1.38 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of Templates: time 0.003135/0.5067, allocations: 0.9643 MB / 1.381 GB, free: 15.93 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches