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.286/2.286, allocations: 390.5 MB / 398 MB, free: 10.93 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.001089/0.001089, allocations: 188.6 kB / 491.2 MB, free: 1.57 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.814/1.814, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.001045/0.001045, allocations: 99.16 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.378e-05/2.37e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3934, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.508/1.901, allocations: 374.8 MB / 1.578 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.901, allocations: 85.33 kB / 1.578 GB, free: 7.285 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03137/1.933, allocations: 10.95 MB / 1.589 GB, free: 14.38 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.325e-06/1.933, allocations: 0 / 1.589 GB, free: 14.38 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.82e-05/1.933, allocations: 4 kB / 1.589 GB, free: 14.38 MB / 1.01 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.001235/1.934, allocations: 0.5666 MB / 1.59 GB, free: 13.78 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/1.934, allocations: 8.031 kB / 1.59 GB, free: 13.77 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/1.934, allocations: 23.72 kB / 1.59 GB, free: 13.75 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/1.935, allocations: 277.4 kB / 1.59 GB, free: 13.44 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/1.935, allocations: 4 kB / 1.59 GB, free: 13.44 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/1.935, allocations: 4 kB / 1.59 GB, free: 13.43 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002373/1.935, allocations: 99.62 kB / 1.59 GB, free: 13.37 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/1.936, allocations: 109.8 kB / 1.59 GB, free: 13.28 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.936, allocations: 0 / 1.59 GB, free: 13.28 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/1.936, allocations: 0 / 1.59 GB, free: 13.28 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/1.936, allocations: 8 kB / 1.59 GB, free: 13.27 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/1.937, allocations: 459 kB / 1.591 GB, free: 12.84 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/1.937, allocations: 75.12 kB / 1.591 GB, free: 12.79 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/1.937, allocations: 57.84 kB / 1.591 GB, free: 12.75 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007301/1.938, allocations: 0.5064 MB / 1.591 GB, free: 12.13 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/1.938, allocations: 42.48 kB / 1.591 GB, free: 12.08 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/1.938, allocations: 0 / 1.591 GB, free: 12.08 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.04823/1.986, allocations: 3.736 MB / 1.595 GB, free: 8.453 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/1.986, allocations: 55.03 kB / 1.595 GB, free: 8.391 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/1.986, allocations: 196.9 kB / 1.595 GB, free: 8.223 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/1.986, allocations: 25.7 kB / 1.595 GB, free: 8.191 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/1.987, allocations: 139.8 kB / 1.595 GB, free: 8.086 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/1.987, allocations: 38.52 kB / 1.595 GB, free: 8.051 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/1.987, allocations: 0 / 1.595 GB, free: 8.051 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.987, allocations: 329.2 kB / 1.596 GB, free: 7.73 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.995e-05/1.987, allocations: 45.73 kB / 1.596 GB, free: 7.703 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/1.987, allocations: 50.53 kB / 1.596 GB, free: 7.672 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04751/2.035, allocations: 3.631 MB / 1.599 GB, free: 4.137 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/2.035, allocations: 0 / 1.599 GB, free: 4.137 MB / 1.01 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.04687/2.081, allocations: 3.735 MB / 1.603 GB, free: 0.5078 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/2.082, allocations: 4 kB / 1.603 GB, free: 0.5039 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/2.082, allocations: 7.984 kB / 1.603 GB, free: 0.4961 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/2.082, allocations: 0 / 1.603 GB, free: 0.4961 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/2.082, allocations: 55.14 kB / 1.603 GB, free: 456 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/2.082, allocations: 7.938 kB / 1.603 GB, free: 448 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/2.082, allocations: 43.89 kB / 1.603 GB, free: 404 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/2.082, allocations: 8 kB / 1.603 GB, free: 396 kB / 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 (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.00013/2.083, allocations: 101 kB / 1.603 GB, free: 288 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/2.083, allocations: 27.7 kB / 1.603 GB, free: 260 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04901/2.132, allocations: 3.763 MB / 1.607 GB, free: 12.61 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/2.132, allocations: 0 / 1.607 GB, free: 12.61 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/2.132, allocations: 0 / 1.607 GB, free: 12.61 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/2.132, allocations: 7.953 kB / 1.607 GB, free: 12.61 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/2.132, allocations: 247.9 kB / 1.607 GB, free: 12.36 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/2.132, allocations: 0 / 1.607 GB, free: 12.36 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/2.133, allocations: 55.94 kB / 1.607 GB, free: 12.3 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/2.133, allocations: 4 kB / 1.607 GB, free: 12.3 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/2.133, allocations: 3.984 kB / 1.607 GB, free: 12.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/2.133, allocations: 3.938 kB / 1.607 GB, free: 12.29 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/2.133, allocations: 0 / 1.607 GB, free: 12.29 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04956/2.182, allocations: 3.839 MB / 1.611 GB, free: 8.555 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/2.183, allocations: 111.3 kB / 1.611 GB, free: 8.434 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/2.183, allocations: 0 / 1.611 GB, free: 8.434 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/2.183, allocations: 35.97 kB / 1.611 GB, free: 8.398 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/2.183, allocations: 14.91 kB / 1.611 GB, free: 8.387 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/2.183, allocations: 7.625 kB / 1.611 GB, free: 8.383 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001806/2.183, allocations: 150.4 kB / 1.611 GB, free: 8.254 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.5e-07/2.183, allocations: 0 / 1.611 GB, free: 8.254 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004414/2.184, allocations: 71.2 kB / 1.611 GB, free: 8.188 MB / 1.026 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.0004065/2.184, allocations: 179.6 kB / 1.611 GB, free: 8.004 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0003032/2.184, allocations: 118.2 kB / 1.612 GB, free: 7.926 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.185, allocations: 0 / 1.612 GB, free: 7.926 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/2.185, allocations: 64.86 kB / 1.612 GB, free: 7.883 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/2.185, allocations: 32.91 kB / 1.612 GB, free: 7.859 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/2.186, allocations: 243.8 kB / 1.612 GB, free: 7.629 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/2.186, allocations: 0.7392 MB / 1.613 GB, free: 6.863 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002207/2.186, allocations: 36.83 kB / 1.613 GB, free: 6.824 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/2.186, allocations: 23.36 kB / 1.613 GB, free: 6.805 MB / 1.026 GB Notification: Performance of SimCode: time 5.81e-07/2.186, allocations: 0 / 1.613 GB, free: 6.805 MB / 1.026 GB Notification: Performance of Templates: time 0.006328/2.193, allocations: 2.493 MB / 1.615 GB, free: 4.344 MB / 1.026 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