Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.332/2.332, allocations: 390.5 MB / 398 MB, free: 10.89 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.001071/0.001071, allocations: 188 kB / 491.2 MB, free: 1.547 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.463/1.463, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001087/0.001087, allocations: 99.58 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.579e-05, allocations: 5.953 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2766, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.346, allocations: 374.2 MB / 1.578 GB, free: 7.758 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.347, allocations: 86.2 kB / 1.578 GB, free: 7.711 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02233/1.369, allocations: 9.51 MB / 1.587 GB, free: 52 kB / 0.9948 GB Notification: Performance of FrontEnd: time 2.715e-06/1.369, allocations: 0 / 1.587 GB, free: 52 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.402e-05/1.369, allocations: 5.969 kB / 1.587 GB, free: 48 kB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006403/1.37, allocations: 461.3 kB / 1.588 GB, free: 15.56 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.37, allocations: 8.031 kB / 1.588 GB, free: 15.55 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.925e-05/1.37, allocations: 27.75 kB / 1.588 GB, free: 15.53 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/1.37, allocations: 239.7 kB / 1.588 GB, free: 15.26 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/1.37, allocations: 0 / 1.588 GB, free: 15.26 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/1.37, allocations: 4 kB / 1.588 GB, free: 15.26 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001306/1.371, allocations: 63.66 kB / 1.588 GB, free: 15.21 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/1.371, allocations: 110.1 kB / 1.588 GB, free: 15.12 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.371, allocations: 0 / 1.588 GB, free: 15.12 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/1.371, allocations: 7.953 kB / 1.588 GB, free: 15.11 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/1.371, allocations: 6.562 kB / 1.588 GB, free: 15.11 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006353/1.371, allocations: 419.3 kB / 1.588 GB, free: 14.71 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/1.372, allocations: 130.8 kB / 1.589 GB, free: 14.62 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/1.372, allocations: 77.62 kB / 1.589 GB, free: 14.56 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/1.372, allocations: 11.92 kB / 1.589 GB, free: 14.55 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/1.372, allocations: 38.5 kB / 1.589 GB, free: 14.5 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/1.372, allocations: 0 / 1.589 GB, free: 14.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0005516/1.372, allocations: 177.2 kB / 1.589 GB, free: 14.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/1.372, allocations: 51.41 kB / 1.589 GB, free: 14.29 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/1.373, allocations: 178.3 kB / 1.589 GB, free: 14.14 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/1.373, allocations: 29.7 kB / 1.589 GB, free: 14.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/1.373, allocations: 120.2 kB / 1.589 GB, free: 14 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/1.373, allocations: 46.05 kB / 1.589 GB, free: 13.96 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/1.373, allocations: 0 / 1.589 GB, free: 13.96 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.373, allocations: 326.1 kB / 1.59 GB, free: 13.64 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/1.373, allocations: 46.03 kB / 1.59 GB, free: 13.61 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/1.373, allocations: 49.23 kB / 1.59 GB, free: 13.58 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/1.373, allocations: 83.11 kB / 1.59 GB, free: 13.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.373, allocations: 4 kB / 1.59 GB, free: 13.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003976/1.374, allocations: 180.8 kB / 1.59 GB, free: 13.36 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.374, allocations: 5.25 kB / 1.59 GB, free: 13.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.374, allocations: 0 / 1.59 GB, free: 13.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.374, allocations: 7.953 kB / 1.59 GB, free: 13.35 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/1.374, allocations: 43.95 kB / 1.59 GB, free: 13.31 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/1.374, allocations: 0 / 1.59 GB, free: 13.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/1.374, allocations: 19.98 kB / 1.59 GB, free: 13.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/1.374, allocations: 0 / 1.59 GB, free: 13.29 MB / 1.01 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 (13): * Single equations (assignments): 13 * 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 8.525e-05/1.374, allocations: 112.9 kB / 1.59 GB, free: 13.17 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/1.374, allocations: 15.81 kB / 1.59 GB, free: 13.16 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/1.374, allocations: 23.34 kB / 1.59 GB, free: 13.15 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.374, allocations: 7.938 kB / 1.59 GB, free: 13.14 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.374, allocations: 7.953 kB / 1.59 GB, free: 13.13 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.374, allocations: 3.984 kB / 1.59 GB, free: 13.13 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/1.375, allocations: 224 kB / 1.59 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/1.375, allocations: 0 / 1.59 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/1.375, allocations: 39.91 kB / 1.59 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/1.375, allocations: 0 / 1.59 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/1.375, allocations: 7.984 kB / 1.59 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.375, allocations: 0 / 1.59 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.375, allocations: 3.984 kB / 1.59 GB, free: 12.85 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/1.375, allocations: 288.2 kB / 1.591 GB, free: 12.59 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/1.376, allocations: 111.4 kB / 1.591 GB, free: 12.46 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/1.376, allocations: 0 / 1.591 GB, free: 12.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/1.376, allocations: 15.98 kB / 1.591 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/1.376, allocations: 11.98 kB / 1.591 GB, free: 12.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/1.376, allocations: 7.984 kB / 1.591 GB, free: 12.43 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.718e-05/1.376, allocations: 145.3 kB / 1.591 GB, free: 12.31 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.61e-07/1.376, allocations: 0 / 1.591 GB, free: 12.31 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002564/1.376, allocations: 39.55 kB / 1.591 GB, free: 12.28 MB / 1.01 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 (13): * Single equations (assignments): 13 * 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.0002372/1.376, allocations: 153.4 kB / 1.591 GB, free: 12.12 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002066/1.377, allocations: 115.1 kB / 1.591 GB, free: 12.04 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.377, allocations: 0 / 1.591 GB, free: 12.04 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/1.377, allocations: 65.97 kB / 1.591 GB, free: 11.99 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/1.377, allocations: 20.47 kB / 1.591 GB, free: 11.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/1.377, allocations: 222.8 kB / 1.592 GB, free: 11.76 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/1.378, allocations: 0.7345 MB / 1.592 GB, free: 11 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001775/1.378, allocations: 56.42 kB / 1.592 GB, free: 10.95 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/1.378, allocations: 19.42 kB / 1.592 GB, free: 10.93 MB / 1.01 GB Notification: Performance of SimCode: time 3.21e-07/1.378, allocations: 0 / 1.592 GB, free: 10.93 MB / 1.01 GB Notification: Performance of Templates: time 0.004403/1.382, allocations: 1.748 MB / 1.594 GB, free: 9.207 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches