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 1.991/1.991, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009364/0.0009364, allocations: 180.9 kB / 487.4 MB, free: 5.027 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.285/1.285, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 99.91 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.983e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2221, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8709/1.093, allocations: 374.2 MB / 1.571 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/1.093, allocations: 88.06 kB / 1.571 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02596/1.119, allocations: 10.93 MB / 1.582 GB, free: 6.543 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.082e-06/1.119, allocations: 0 / 1.582 GB, free: 6.543 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.261e-05/1.119, allocations: 4 kB / 1.582 GB, free: 6.539 MB / 0.9948 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.0009515/1.12, allocations: 0.5672 MB / 1.583 GB, free: 5.938 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/1.12, allocations: 8.031 kB / 1.583 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/1.12, allocations: 31.66 kB / 1.583 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/1.121, allocations: 272.6 kB / 1.583 GB, free: 5.602 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/1.121, allocations: 5.312 kB / 1.583 GB, free: 5.598 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/1.121, allocations: 4 kB / 1.583 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000194/1.121, allocations: 91.84 kB / 1.583 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/1.121, allocations: 120.6 kB / 1.583 GB, free: 5.438 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/1.121, allocations: 3.938 kB / 1.583 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/1.121, allocations: 0 / 1.583 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.122, allocations: 0 / 1.583 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/1.122, allocations: 468.7 kB / 1.584 GB, free: 5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/1.122, allocations: 75.44 kB / 1.584 GB, free: 4.938 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/1.123, allocations: 58.72 kB / 1.584 GB, free: 4.898 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/1.123, allocations: 0.5097 MB / 1.584 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/1.123, allocations: 34.5 kB / 1.584 GB, free: 4.242 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/1.123, allocations: 4 kB / 1.584 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.04828/1.171, allocations: 3.723 MB / 1.588 GB, free: 0.6211 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/1.172, allocations: 59.36 kB / 1.588 GB, free: 0.5508 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/1.172, allocations: 189.5 kB / 1.588 GB, free: 396 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/1.172, allocations: 25.92 kB / 1.588 GB, free: 364 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/1.172, allocations: 145.7 kB / 1.588 GB, free: 252 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/1.172, allocations: 38.39 kB / 1.588 GB, free: 216 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/1.172, allocations: 0 / 1.588 GB, free: 216 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.172, allocations: 332.3 kB / 1.589 GB, free: 15.89 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/1.172, allocations: 51.11 kB / 1.589 GB, free: 15.86 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.129e-05/1.172, allocations: 45.61 kB / 1.589 GB, free: 15.83 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04616/1.218, allocations: 3.63 MB / 1.592 GB, free: 12.29 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.218, allocations: 0 / 1.592 GB, free: 12.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.046/1.264, allocations: 3.734 MB / 1.596 GB, free: 8.668 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/1.265, allocations: 7.938 kB / 1.596 GB, free: 8.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.265, allocations: 7.984 kB / 1.596 GB, free: 8.652 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/1.265, allocations: 0 / 1.596 GB, free: 8.652 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/1.265, allocations: 55.94 kB / 1.596 GB, free: 8.598 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.265, allocations: 4 kB / 1.596 GB, free: 8.594 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/1.265, allocations: 43.86 kB / 1.596 GB, free: 8.551 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/1.265, allocations: 3.984 kB / 1.596 GB, free: 8.547 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.225e-05/1.265, allocations: 108.9 kB / 1.596 GB, free: 8.434 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/1.265, allocations: 19.72 kB / 1.596 GB, free: 8.414 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04662/1.312, allocations: 3.756 MB / 1.6 GB, free: 4.781 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.312, allocations: 4 kB / 1.6 GB, free: 4.777 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.312, allocations: 0 / 1.6 GB, free: 4.777 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.312, allocations: 0 / 1.6 GB, free: 4.777 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/1.312, allocations: 255.8 kB / 1.6 GB, free: 4.523 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.312, allocations: 0 / 1.6 GB, free: 4.523 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/1.313, allocations: 63.88 kB / 1.6 GB, free: 4.461 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/1.313, allocations: 0 / 1.6 GB, free: 4.461 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/1.313, allocations: 0 / 1.6 GB, free: 4.461 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.313, allocations: 0 / 1.6 GB, free: 4.461 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.313, allocations: 4 kB / 1.6 GB, free: 4.457 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04714/1.36, allocations: 3.836 MB / 1.604 GB, free: 0.7227 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/1.36, allocations: 111.4 kB / 1.604 GB, free: 0.6016 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/1.36, allocations: 0 / 1.604 GB, free: 0.6016 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/1.361, allocations: 43.95 kB / 1.604 GB, free: 0.5586 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/1.361, allocations: 15.36 kB / 1.604 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/1.361, allocations: 3.984 kB / 1.604 GB, free: 0.543 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001614/1.361, allocations: 161 kB / 1.604 GB, free: 424 kB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/1.361, allocations: 3.938 kB / 1.604 GB, free: 420 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003806/1.361, allocations: 67.77 kB / 1.604 GB, free: 352 kB / 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.0003366/1.362, allocations: 186.5 kB / 1.605 GB, free: 156 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002573/1.362, allocations: 105.7 kB / 1.605 GB, free: 88 kB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.362, allocations: 0 / 1.605 GB, free: 88 kB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/1.362, allocations: 71.28 kB / 1.605 GB, free: 40 kB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/1.362, allocations: 26.44 kB / 1.605 GB, free: 20 kB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/1.363, allocations: 241.7 kB / 1.605 GB, free: 15.79 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/1.363, allocations: 0.7421 MB / 1.606 GB, free: 15.02 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.000194/1.363, allocations: 44.83 kB / 1.606 GB, free: 14.97 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/1.363, allocations: 19.42 kB / 1.606 GB, free: 14.95 MB / 1.026 GB Notification: Performance of SimCode: time 2.71e-07/1.363, allocations: 0 / 1.606 GB, free: 14.95 MB / 1.026 GB Notification: Performance of Templates: time 0.005368/1.369, allocations: 2.479 MB / 1.608 GB, free: 12.5 MB / 1.026 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