Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, 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.001063/0.001063, allocations: 184.7 kB / 326.5 MB, free: 2.246 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.66/1.66, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008163/0.0008158, allocations: 83.94 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003695, allocations: 12.14 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2372, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9116/1.149, allocations: 356 MB / 1.248 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.149, allocations: 94.14 kB / 1.248 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.0272/1.176, allocations: 10.69 MB / 1.258 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.984e-06/1.176, allocations: 0 / 1.258 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.543e-05/1.176, allocations: 8 kB / 1.258 GB, free: 1.746 MB / 0.7605 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.001146/1.178, allocations: 0.6092 MB / 1.259 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.178, allocations: 8.031 kB / 1.259 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/1.178, allocations: 35.55 kB / 1.259 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/1.178, allocations: 265.6 kB / 1.259 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/1.178, allocations: 11.38 kB / 1.259 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/1.178, allocations: 4 kB / 1.259 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/1.179, allocations: 194.2 kB / 1.259 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.179, allocations: 0 / 1.259 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/1.179, allocations: 3.812 kB / 1.259 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.179, allocations: 8 kB / 1.259 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006547/1.18, allocations: 231.8 kB / 1.26 GB, free: 396 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/1.181, allocations: 499.8 kB / 1.26 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/1.181, allocations: 147.8 kB / 1.26 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006883/1.182, allocations: 0.5101 MB / 1.261 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.182, allocations: 42.5 kB / 1.261 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/1.182, allocations: 0 / 1.261 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.001147/1.183, allocations: 422.5 kB / 1.261 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/1.183, allocations: 51.41 kB / 1.261 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/1.183, allocations: 206.9 kB / 1.261 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/1.183, allocations: 29.45 kB / 1.261 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/1.183, allocations: 139.4 kB / 1.262 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/1.183, allocations: 26.75 kB / 1.262 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/1.183, allocations: 3.438 kB / 1.262 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.183, allocations: 336.7 kB / 1.262 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/1.184, allocations: 113.7 kB / 1.262 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/1.184, allocations: 117.5 kB / 1.262 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/1.184, allocations: 116.3 kB / 1.262 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.184, allocations: 7.984 kB / 1.262 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007255/1.185, allocations: 296 kB / 1.263 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.185, allocations: 4 kB / 1.263 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.185, allocations: 0 / 1.263 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.185, allocations: 11.89 kB / 1.263 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/1.186, allocations: 51.94 kB / 1.263 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/1.186, allocations: 4 kB / 1.263 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/1.186, allocations: 47.75 kB / 1.263 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/1.186, allocations: 3.984 kB / 1.263 GB, free: 13.36 MB / 0.7761 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.0001302/1.186, allocations: 126.5 kB / 1.263 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/1.186, allocations: 19.81 kB / 1.263 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008476/1.187, allocations: 328.1 kB / 1.263 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.187, allocations: 7.953 kB / 1.263 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.187, allocations: 0 / 1.263 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.187, allocations: 0 / 1.263 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/1.187, allocations: 276.7 kB / 1.263 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.187, allocations: 0 / 1.263 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/1.188, allocations: 59.94 kB / 1.263 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.188, allocations: 0 / 1.263 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/1.188, allocations: 0 / 1.263 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.188, allocations: 4 kB / 1.264 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.188, allocations: 3.953 kB / 1.264 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/1.188, allocations: 405.9 kB / 1.264 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.189, allocations: 115.7 kB / 1.264 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/1.189, allocations: 7.484 kB / 1.264 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/1.189, allocations: 35.95 kB / 1.264 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/1.189, allocations: 15.48 kB / 1.264 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/1.189, allocations: 11.94 kB / 1.264 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001348/1.189, allocations: 170.1 kB / 1.264 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/1.189, allocations: 0 / 1.264 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003728/1.19, allocations: 78.86 kB / 1.264 GB, free: 11.82 MB / 0.7761 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.000379/1.19, allocations: 175.1 kB / 1.264 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008049/1.191, allocations: 265.2 kB / 1.265 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.191, allocations: 0 / 1.265 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/1.191, allocations: 140.8 kB / 1.265 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/1.191, allocations: 27.41 kB / 1.265 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/1.192, allocations: 491.2 kB / 1.265 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/1.193, allocations: 0.7394 MB / 1.266 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001947/1.193, allocations: 36.83 kB / 1.266 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/1.193, allocations: 19.42 kB / 1.266 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/1.193, allocations: 0 / 1.266 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.006474/1.2, allocations: 2.973 MB / 1.269 GB, free: 7.047 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches