Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001066/0.001066, allocations: 176.3 kB / 492.3 MB, free: 0.5938 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.815/1.815, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0008956/0.0008957, allocations: 90.77 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.434e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3372, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.594, allocations: 374.9 MB / 1.578 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.594, allocations: 89.17 kB / 1.579 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02704/1.621, allocations: 11.01 MB / 1.589 GB, free: 13.58 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.553e-06/1.621, allocations: 0 / 1.589 GB, free: 13.58 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.767e-05/1.621, allocations: 4 kB / 1.589 GB, free: 13.57 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.0009922/1.622, allocations: 0.5708 MB / 1.59 GB, free: 12.97 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.623, allocations: 8.031 kB / 1.59 GB, free: 12.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/1.623, allocations: 31.64 kB / 1.59 GB, free: 12.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/1.623, allocations: 273.1 kB / 1.59 GB, free: 12.64 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/1.623, allocations: 1.422 kB / 1.59 GB, free: 12.64 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/1.623, allocations: 10.56 kB / 1.59 GB, free: 12.63 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/1.624, allocations: 121.1 kB / 1.59 GB, free: 12.53 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.624, allocations: 0 / 1.59 GB, free: 12.53 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/1.624, allocations: 7.625 kB / 1.59 GB, free: 12.53 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.624, allocations: 7.984 kB / 1.59 GB, free: 12.52 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/1.624, allocations: 93.59 kB / 1.59 GB, free: 12.46 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/1.625, allocations: 498.1 kB / 1.591 GB, free: 11.99 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/1.625, allocations: 83.94 kB / 1.591 GB, free: 11.92 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/1.625, allocations: 62.58 kB / 1.591 GB, free: 11.88 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/1.626, allocations: 0.5139 MB / 1.592 GB, free: 11.26 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/1.626, allocations: 30.56 kB / 1.592 GB, free: 11.22 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/1.626, allocations: 4 kB / 1.592 GB, free: 11.22 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.0003715/1.626, allocations: 152.1 kB / 1.592 GB, free: 11.1 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.626, allocations: 55.34 kB / 1.592 GB, free: 11.03 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/1.626, allocations: 203.2 kB / 1.592 GB, free: 10.86 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/1.626, allocations: 29.17 kB / 1.592 GB, free: 10.82 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/1.626, allocations: 141.2 kB / 1.592 GB, free: 10.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/1.627, allocations: 45.12 kB / 1.592 GB, free: 10.68 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/1.627, allocations: 3 kB / 1.592 GB, free: 10.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.627, allocations: 329.7 kB / 1.592 GB, free: 10.35 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.693e-05/1.627, allocations: 51.17 kB / 1.593 GB, free: 10.32 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.988e-05/1.627, allocations: 50.03 kB / 1.593 GB, free: 10.29 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.202e-05/1.627, allocations: 46.53 kB / 1.593 GB, free: 10.26 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.627, allocations: 0 / 1.593 GB, free: 10.26 MB / 1.01 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002665/1.627, allocations: 157.5 kB / 1.593 GB, free: 10.13 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.627, allocations: 7.953 kB / 1.593 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.627, allocations: 0 / 1.593 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.627, allocations: 4 kB / 1.593 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/1.628, allocations: 59.88 kB / 1.593 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.628, allocations: 0 / 1.593 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/1.628, allocations: 51.45 kB / 1.593 GB, free: 10.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/1.628, allocations: 0 / 1.593 GB, free: 10.02 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 (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.457e-05/1.628, allocations: 112.7 kB / 1.593 GB, free: 9.902 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/1.628, allocations: 19.72 kB / 1.593 GB, free: 9.883 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/1.628, allocations: 190.1 kB / 1.593 GB, free: 9.738 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.628, allocations: 0 / 1.593 GB, free: 9.738 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.628, allocations: 4 kB / 1.593 GB, free: 9.734 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.629, allocations: 0 / 1.593 GB, free: 9.734 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/1.629, allocations: 281.9 kB / 1.593 GB, free: 9.445 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.629, allocations: 0 / 1.593 GB, free: 9.445 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/1.629, allocations: 55.56 kB / 1.594 GB, free: 9.395 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.629, allocations: 0 / 1.594 GB, free: 9.395 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/1.629, allocations: 8 kB / 1.594 GB, free: 9.387 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.629, allocations: 3.953 kB / 1.594 GB, free: 9.383 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.629, allocations: 4 kB / 1.594 GB, free: 9.379 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/1.629, allocations: 258.6 kB / 1.594 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/1.63, allocations: 107.8 kB / 1.594 GB, free: 9.031 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/1.63, allocations: 0 / 1.594 GB, free: 9.031 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/1.63, allocations: 43.58 kB / 1.594 GB, free: 8.992 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/1.63, allocations: 19.88 kB / 1.594 GB, free: 8.973 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/1.63, allocations: 7.672 kB / 1.594 GB, free: 8.969 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001244/1.63, allocations: 168.9 kB / 1.594 GB, free: 8.824 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.3e-07/1.63, allocations: 0 / 1.594 GB, free: 8.824 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003424/1.63, allocations: 78.95 kB / 1.594 GB, free: 8.754 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 (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.0003249/1.631, allocations: 186.1 kB / 1.594 GB, free: 8.57 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000275/1.631, allocations: 121.8 kB / 1.594 GB, free: 8.488 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.631, allocations: 0 / 1.594 GB, free: 8.488 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/1.631, allocations: 66.3 kB / 1.595 GB, free: 8.445 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/1.632, allocations: 27.3 kB / 1.595 GB, free: 8.426 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/1.632, allocations: 250 kB / 1.595 GB, free: 8.188 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/1.632, allocations: 0.7464 MB / 1.596 GB, free: 7.418 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001727/1.633, allocations: 40.83 kB / 1.596 GB, free: 7.371 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/1.633, allocations: 19.42 kB / 1.596 GB, free: 7.352 MB / 1.01 GB Notification: Performance of SimCode: time 2.1e-07/1.633, allocations: 0 / 1.596 GB, free: 7.352 MB / 1.01 GB Notification: Performance of Templates: time 0.006466/1.639, allocations: 3.182 MB / 1.599 GB, free: 4.203 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches