Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.48/2.48, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001104/0.001104, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.743/1.743, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.001164/0.001165, allocations: 87.91 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.457e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3601, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/1.697, allocations: 375.5 MB / 1.585 GB, free: 10.26 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.697, allocations: 83.83 kB / 1.585 GB, free: 10.21 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02994/1.727, allocations: 11.04 MB / 1.596 GB, free: 15.88 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.753e-06/1.727, allocations: 0 / 1.596 GB, free: 15.88 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.617e-05/1.727, allocations: 4 kB / 1.596 GB, free: 15.88 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00103/1.728, allocations: 0.5647 MB / 1.597 GB, free: 15.27 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.728, allocations: 8.031 kB / 1.597 GB, free: 15.26 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/1.728, allocations: 23.91 kB / 1.597 GB, free: 15.23 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/1.729, allocations: 270.4 kB / 1.597 GB, free: 14.93 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/1.729, allocations: 8 kB / 1.597 GB, free: 14.92 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/1.729, allocations: 12 kB / 1.597 GB, free: 14.91 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/1.729, allocations: 122.2 kB / 1.597 GB, free: 14.78 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.729, allocations: 0 / 1.597 GB, free: 14.78 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/1.729, allocations: 7.938 kB / 1.597 GB, free: 14.77 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.729, allocations: 0 / 1.597 GB, free: 14.77 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/1.729, allocations: 101.1 kB / 1.597 GB, free: 14.68 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/1.73, allocations: 492.5 kB / 1.598 GB, free: 14.14 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/1.73, allocations: 86.56 kB / 1.598 GB, free: 14.05 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/1.731, allocations: 64.84 kB / 1.598 GB, free: 13.98 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/1.731, allocations: 0.5103 MB / 1.598 GB, free: 13.36 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/1.731, allocations: 34.56 kB / 1.598 GB, free: 13.32 MB / 1.057 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/1.731, allocations: 0 / 1.598 GB, free: 13.32 MB / 1.057 GB Notification: Performance of matching and sorting (n=11): time 0.0004029/1.732, allocations: 157.5 kB / 1.599 GB, free: 13.16 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.732, allocations: 59.34 kB / 1.599 GB, free: 13.09 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/1.732, allocations: 203.2 kB / 1.599 GB, free: 12.89 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/1.732, allocations: 25.7 kB / 1.599 GB, free: 12.86 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/1.732, allocations: 144 kB / 1.599 GB, free: 12.71 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/1.732, allocations: 35.45 kB / 1.599 GB, free: 12.68 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/1.732, allocations: 4 kB / 1.599 GB, free: 12.67 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.732, allocations: 330.8 kB / 1.599 GB, free: 12.34 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/1.732, allocations: 43.98 kB / 1.599 GB, free: 12.3 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.192e-05/1.733, allocations: 52 kB / 1.599 GB, free: 12.25 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/1.733, allocations: 56.23 kB / 1.6 GB, free: 12.19 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.733, allocations: 0 / 1.6 GB, free: 12.19 MB / 1.057 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002851/1.733, allocations: 165.2 kB / 1.6 GB, free: 12.02 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.733, allocations: 4 kB / 1.6 GB, free: 12.02 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.733, allocations: 0 / 1.6 GB, free: 12.02 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.733, allocations: 4 kB / 1.6 GB, free: 12.02 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/1.733, allocations: 59.88 kB / 1.6 GB, free: 11.96 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.733, allocations: 0 / 1.6 GB, free: 11.96 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/1.734, allocations: 39.91 kB / 1.6 GB, free: 11.92 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/1.734, allocations: 7.984 kB / 1.6 GB, free: 11.91 MB / 1.057 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 (11): * Single equations (assignments): 11 * 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.266e-05/1.734, allocations: 109 kB / 1.6 GB, free: 11.8 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/1.734, allocations: 23.67 kB / 1.6 GB, free: 11.77 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003923/1.734, allocations: 191.3 kB / 1.6 GB, free: 11.58 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/1.734, allocations: 4 kB / 1.6 GB, free: 11.58 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.734, allocations: 0 / 1.6 GB, free: 11.58 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.734, allocations: 3.984 kB / 1.6 GB, free: 11.57 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/1.735, allocations: 273.4 kB / 1.6 GB, free: 11.26 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.735, allocations: 8 kB / 1.6 GB, free: 11.25 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/1.735, allocations: 51.94 kB / 1.6 GB, free: 11.2 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1.735, allocations: 0 / 1.6 GB, free: 11.2 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/1.735, allocations: 7.953 kB / 1.6 GB, free: 11.19 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.735, allocations: 3.984 kB / 1.6 GB, free: 11.19 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.735, allocations: 4 kB / 1.6 GB, free: 11.18 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/1.735, allocations: 259.2 kB / 1.601 GB, free: 10.91 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/1.735, allocations: 112.8 kB / 1.601 GB, free: 10.79 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/1.735, allocations: 0 / 1.601 GB, free: 10.79 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/1.736, allocations: 39.92 kB / 1.601 GB, free: 10.75 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/1.736, allocations: 23.91 kB / 1.601 GB, free: 10.72 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/1.736, allocations: 0 / 1.601 GB, free: 10.72 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001508/1.736, allocations: 167.1 kB / 1.601 GB, free: 10.56 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.2e-07/1.736, allocations: 0 / 1.601 GB, free: 10.56 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000351/1.736, allocations: 79.77 kB / 1.601 GB, free: 10.48 MB / 1.057 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 (11): * Single equations (assignments): 11 * 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.0003444/1.737, allocations: 173.4 kB / 1.601 GB, free: 10.3 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002922/1.737, allocations: 127.8 kB / 1.601 GB, free: 10.18 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.737, allocations: 0 / 1.601 GB, free: 10.18 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/1.737, allocations: 67.92 kB / 1.601 GB, free: 10.11 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/1.737, allocations: 29.66 kB / 1.602 GB, free: 10.09 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/1.738, allocations: 248.6 kB / 1.602 GB, free: 9.82 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/1.738, allocations: 0.7433 MB / 1.602 GB, free: 9.051 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001925/1.739, allocations: 44.83 kB / 1.603 GB, free: 9.004 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/1.739, allocations: 15.42 kB / 1.603 GB, free: 8.988 MB / 1.057 GB Notification: Performance of SimCode: time 3.51e-07/1.739, allocations: 0 / 1.603 GB, free: 8.988 MB / 1.057 GB Notification: Performance of Templates: time 0.006655/1.745, allocations: 3.19 MB / 1.606 GB, free: 5.82 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches