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.403/2.403, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001802/0.001802, allocations: 175.9 kB / 0.4902 GB, free: 2.305 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.77/1.77, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.001309/0.001309, allocations: 94.94 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004735, allocations: 10.62 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4442, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.396/1.841, allocations: 375.5 MB / 1.596 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/1.841, allocations: 89.36 kB / 1.596 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02997/1.871, allocations: 11.08 MB / 1.607 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.418e-06/1.871, allocations: 0 / 1.607 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.212e-05/1.871, allocations: 7.938 kB / 1.607 GB, free: 11.83 MB / 0.9323 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.001814/1.873, allocations: 0.6059 MB / 1.607 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.123e-05/1.873, allocations: 12.55 kB / 1.607 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/1.873, allocations: 23.72 kB / 1.607 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009088/1.874, allocations: 273 kB / 1.608 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/1.874, allocations: 4.188 kB / 1.608 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/1.874, allocations: 11.81 kB / 1.608 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/1.875, allocations: 193.8 kB / 1.608 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/1.875, allocations: 4 kB / 1.608 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/1.875, allocations: 0 / 1.608 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.875, allocations: 0 / 1.608 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/1.876, allocations: 235.1 kB / 1.608 GB, free: 10.47 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/1.877, allocations: 0.4961 MB / 1.609 GB, free: 9.996 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/1.878, allocations: 148.4 kB / 1.609 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/1.879, allocations: 0.5137 MB / 1.609 GB, free: 9.242 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/1.879, allocations: 30.56 kB / 1.609 GB, free: 9.203 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 2.685e-06/1.879, allocations: 4 kB / 1.609 GB, free: 9.199 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.00135/1.88, allocations: 424.9 kB / 1.61 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.88, allocations: 55.41 kB / 1.61 GB, free: 8.77 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/1.881, allocations: 201.4 kB / 1.61 GB, free: 8.598 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/1.881, allocations: 29.69 kB / 1.61 GB, free: 8.562 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/1.881, allocations: 137.8 kB / 1.61 GB, free: 8.461 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/1.881, allocations: 35.08 kB / 1.61 GB, free: 8.43 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/1.881, allocations: 3.5 kB / 1.61 GB, free: 8.43 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002164/1.881, allocations: 332.7 kB / 1.61 GB, free: 8.105 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/1.881, allocations: 121 kB / 1.611 GB, free: 8.004 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/1.882, allocations: 112.7 kB / 1.611 GB, free: 7.91 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/1.882, allocations: 117 kB / 1.611 GB, free: 7.816 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.882, allocations: 0 / 1.611 GB, free: 7.816 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008047/1.883, allocations: 300.1 kB / 1.611 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.883, allocations: 14.14 kB / 1.611 GB, free: 7.543 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.883, allocations: 0 / 1.611 GB, free: 7.543 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/1.883, allocations: 0 / 1.611 GB, free: 7.543 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/1.883, allocations: 59.94 kB / 1.611 GB, free: 7.484 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.883, allocations: 0 / 1.611 GB, free: 7.484 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/1.884, allocations: 43.69 kB / 1.611 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/1.884, allocations: 11.98 kB / 1.611 GB, free: 7.434 MB / 0.9323 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 (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 0.0001483/1.884, allocations: 121.9 kB / 1.611 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/1.884, allocations: 19.72 kB / 1.611 GB, free: 7.293 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009288/1.885, allocations: 338.1 kB / 1.612 GB, free: 7.008 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/1.885, allocations: 0 / 1.612 GB, free: 7.008 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.885, allocations: 0 / 1.612 GB, free: 7.008 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.885, allocations: 3.938 kB / 1.612 GB, free: 7.004 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/1.885, allocations: 281.6 kB / 1.612 GB, free: 6.719 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.885, allocations: 4 kB / 1.612 GB, free: 6.715 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/1.886, allocations: 47.95 kB / 1.612 GB, free: 6.668 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/1.886, allocations: 0 / 1.612 GB, free: 6.668 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/1.886, allocations: 7.984 kB / 1.612 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/1.886, allocations: 3.953 kB / 1.612 GB, free: 6.656 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.886, allocations: 7.938 kB / 1.612 GB, free: 6.648 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/1.887, allocations: 398.8 kB / 1.612 GB, free: 6.285 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/1.887, allocations: 120.5 kB / 1.612 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/1.887, allocations: 0 / 1.612 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/1.887, allocations: 43.08 kB / 1.613 GB, free: 6.117 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/1.887, allocations: 19.5 kB / 1.613 GB, free: 6.102 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/1.887, allocations: 3.984 kB / 1.613 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001609/1.887, allocations: 166.6 kB / 1.613 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/1.887, allocations: 0 / 1.613 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004044/1.888, allocations: 67.36 kB / 1.613 GB, free: 5.895 MB / 0.9323 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 (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.0004159/1.888, allocations: 179.4 kB / 1.613 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008332/1.889, allocations: 262.1 kB / 1.613 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.889, allocations: 0 / 1.613 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003922/1.889, allocations: 137 kB / 1.613 GB, free: 5.387 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/1.89, allocations: 31.14 kB / 1.613 GB, free: 5.367 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009648/1.891, allocations: 491 kB / 1.614 GB, free: 4.891 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/1.891, allocations: 0.7394 MB / 1.615 GB, free: 4.125 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002055/1.891, allocations: 36.84 kB / 1.615 GB, free: 4.086 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/1.891, allocations: 18.73 kB / 1.615 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of SimCode: time 3.41e-07/1.891, allocations: 0 / 1.615 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of Templates: time 0.007324/1.899, allocations: 2.972 MB / 1.618 GB, free: 1.129 MB / 0.9323 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