Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 251.9 MB / 266.9 MB, free: 11 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.001071/0.001071, allocations: 183.6 kB / 326.5 MB, free: 2.238 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.693/1.693, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.0008946/0.0008946, allocations: 102.3 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 10.16 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.3844, allocations: 133.6 MB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.3846, allocations: 83.94 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01533/0.4, allocations: 5.269 MB / 1.036 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4, allocations: 0 / 1.036 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.4, allocations: 4 kB / 1.036 GB, free: 5.27 MB / 0.6823 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.0004765/0.4005, allocations: 410.8 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4006, allocations: 12.03 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.4007, allocations: 7.906 kB / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.4009, allocations: 198.9 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.4009, allocations: 0 / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.401, allocations: 8 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.4011, allocations: 61.67 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4011, allocations: 0 / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4012, allocations: 0 / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4012, allocations: 0 / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.4013, allocations: 55.95 kB / 1.037 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.4018, allocations: 312.6 kB / 1.037 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.402, allocations: 58.56 kB / 1.037 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.402, allocations: 0 / 1.037 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.402, allocations: 42.53 kB / 1.037 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.402, allocations: 0 / 1.037 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0003762/0.4024, allocations: 121.6 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.4024, allocations: 55.36 kB / 1.037 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4026, allocations: 117.2 kB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4026, allocations: 25.7 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.4026, allocations: 96.16 kB / 1.037 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.4027, allocations: 27.78 kB / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.4027, allocations: 0 / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4028, allocations: 314.8 kB / 1.038 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.4029, allocations: 23.98 kB / 1.038 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.403, allocations: 23.98 kB / 1.038 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.27e-05/0.4031, allocations: 35.98 kB / 1.038 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4031, allocations: 0 / 1.038 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002186/0.4033, allocations: 97.88 kB / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4033, allocations: 10.19 kB / 1.038 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4033, allocations: 0 / 1.038 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4033, allocations: 7.938 kB / 1.038 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4035, allocations: 20.05 kB / 1.038 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.4035, allocations: 3.984 kB / 1.038 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.4036, allocations: 27.78 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.4036, allocations: 0 / 1.038 GB, free: 2.926 MB / 0.6823 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 0.0001101/0.4037, allocations: 113.8 kB / 1.038 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.4037, allocations: 7.906 kB / 1.038 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.404, allocations: 109.9 kB / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.404, allocations: 0 / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.404, allocations: 0 / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.404, allocations: 0 / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.4042, allocations: 185.6 kB / 1.038 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4042, allocations: 0 / 1.038 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.4043, allocations: 19.98 kB / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4044, allocations: 0 / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4044, allocations: 4 kB / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4044, allocations: 4 kB / 1.038 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4044, allocations: 0 / 1.038 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.4047, allocations: 195.4 kB / 1.039 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.4047, allocations: 81.02 kB / 1.039 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.4047, allocations: 4 kB / 1.039 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.4048, allocations: 15.92 kB / 1.039 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.4049, allocations: 0 / 1.039 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4049, allocations: 4 kB / 1.039 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.71e-05/0.405, allocations: 103.2 kB / 1.039 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.405, allocations: 4 kB / 1.039 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002299/0.4052, allocations: 27.94 kB / 1.039 GB, free: 1.961 MB / 0.6823 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.0001791/0.4054, allocations: 107.2 kB / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.4056, allocations: 64.08 kB / 1.039 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4056, allocations: 8 kB / 1.039 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.583e-05/0.4057, allocations: 36.05 kB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.4059, allocations: 18.5 kB / 1.039 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.4063, allocations: 222.5 kB / 1.039 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.4066, allocations: 0.6965 MB / 1.04 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.775e-05/0.4067, allocations: 4.188 kB / 1.04 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.4067, allocations: 15.44 kB / 1.04 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.4067, allocations: 0 / 1.04 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of Templates: time 0.003079/0.4098, allocations: 0.9473 MB / 1.041 GB, free: 15.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches