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.571/2.571, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001371/0.001371, allocations: 175.3 kB / 498.1 MB, free: 5.754 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.714/1.714, allocations: 223.2 MB / 0.7948 GB, free: 18.93 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.001217/0.001217, allocations: 95.34 kB / 0.9346 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 8.531 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3154, allocations: 142.3 MB / 1.223 GB, free: 89.63 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.484, allocations: 374.9 MB / 1.589 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.485, allocations: 90.16 kB / 1.589 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.02833/1.513, allocations: 11.07 MB / 1.6 GB, free: 15.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.594e-06/1.513, allocations: 0 / 1.6 GB, free: 15.95 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.438e-05/1.513, allocations: 4 kB / 1.6 GB, free: 15.94 MB / 0.948 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.001202/1.514, allocations: 0.608 MB / 1.601 GB, free: 15.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/1.514, allocations: 8.031 kB / 1.601 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/1.514, allocations: 23.72 kB / 1.601 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/1.515, allocations: 281.5 kB / 1.601 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/1.515, allocations: 4 kB / 1.601 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/1.515, allocations: 7.438 kB / 1.601 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/1.516, allocations: 195.1 kB / 1.601 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.516, allocations: 0 / 1.601 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/1.516, allocations: 3.312 kB / 1.601 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.516, allocations: 8 kB / 1.601 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000717/1.516, allocations: 239.3 kB / 1.601 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009865/1.517, allocations: 495.9 kB / 1.602 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/1.518, allocations: 148.4 kB / 1.602 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007453/1.519, allocations: 0.5064 MB / 1.602 GB, free: 13.37 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.519, allocations: 46.38 kB / 1.602 GB, free: 13.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/1.519, allocations: 0 / 1.602 GB, free: 13.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001198/1.52, allocations: 417.5 kB / 1.603 GB, free: 12.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/1.52, allocations: 51.41 kB / 1.603 GB, free: 12.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/1.52, allocations: 205.8 kB / 1.603 GB, free: 12.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/1.52, allocations: 29.27 kB / 1.603 GB, free: 12.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/1.52, allocations: 140.4 kB / 1.603 GB, free: 12.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/1.52, allocations: 35.39 kB / 1.603 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/1.52, allocations: 4 kB / 1.603 GB, free: 12.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.52, allocations: 333.2 kB / 1.604 GB, free: 12.22 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/1.521, allocations: 114.2 kB / 1.604 GB, free: 12.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/1.521, allocations: 118.2 kB / 1.604 GB, free: 12.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/1.521, allocations: 121.8 kB / 1.604 GB, free: 11.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/1.522, allocations: 0 / 1.604 GB, free: 11.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007664/1.522, allocations: 298.2 kB / 1.604 GB, free: 11.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.522, allocations: 12.88 kB / 1.604 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.522, allocations: 0 / 1.604 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.522, allocations: 4 kB / 1.604 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/1.523, allocations: 51.95 kB / 1.604 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.523, allocations: 3.938 kB / 1.604 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/1.523, allocations: 47.89 kB / 1.604 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/1.523, allocations: 3.5 kB / 1.604 GB, free: 11.55 MB / 0.948 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.0001453/1.523, allocations: 128.7 kB / 1.604 GB, free: 11.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/1.523, allocations: 23.72 kB / 1.604 GB, free: 11.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008847/1.524, allocations: 318.3 kB / 1.605 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.524, allocations: 11.92 kB / 1.605 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/1.524, allocations: 4 kB / 1.605 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/1.524, allocations: 0 / 1.605 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/1.524, allocations: 268.8 kB / 1.605 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.524, allocations: 0 / 1.605 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/1.525, allocations: 59.88 kB / 1.605 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.525, allocations: 0 / 1.605 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/1.525, allocations: 11.61 kB / 1.605 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/1.525, allocations: 7.953 kB / 1.605 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.525, allocations: 0 / 1.605 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/1.526, allocations: 392.9 kB / 1.605 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/1.526, allocations: 119.6 kB / 1.606 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/1.526, allocations: 0 / 1.606 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/1.526, allocations: 39.41 kB / 1.606 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/1.526, allocations: 19.36 kB / 1.606 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/1.526, allocations: 4 kB / 1.606 GB, free: 10.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001494/1.526, allocations: 168.5 kB / 1.606 GB, free: 10.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.526, allocations: 0 / 1.606 GB, free: 10.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003788/1.527, allocations: 75.62 kB / 1.606 GB, free: 10.02 MB / 0.948 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.0003567/1.527, allocations: 186.1 kB / 1.606 GB, free: 9.836 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000797/1.528, allocations: 256.4 kB / 1.606 GB, free: 9.625 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.528, allocations: 0 / 1.606 GB, free: 9.625 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/1.528, allocations: 145.6 kB / 1.606 GB, free: 9.504 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/1.529, allocations: 29.05 kB / 1.606 GB, free: 9.484 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008904/1.53, allocations: 490.3 kB / 1.607 GB, free: 9.012 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/1.53, allocations: 0.7433 MB / 1.608 GB, free: 8.242 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002019/1.53, allocations: 32.84 kB / 1.608 GB, free: 8.203 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/1.53, allocations: 23.42 kB / 1.608 GB, free: 8.18 MB / 0.948 GB Notification: Performance of SimCode: time 2.2e-07/1.53, allocations: 3.938 kB / 1.608 GB, free: 8.176 MB / 0.948 GB Notification: Performance of Templates: time 0.007113/1.537, allocations: 2.964 MB / 1.611 GB, free: 5.246 MB / 0.948 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