Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_11_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_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 108.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001585, allocations: 191.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.708/2.708, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 64.67 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3352, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003974/0.3392, allocations: 2.059 MB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004817/0.3441, allocations: 3.653 MB / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3443, allocations: 0 / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.3447, allocations: 47.69 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.345, allocations: 99.39 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.3454, allocations: 119.8 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.3458, allocations: 251.1 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.3459, allocations: 44.39 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.3461, allocations: 115.5 kB / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.3463, allocations: 115.5 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.3464, allocations: 20 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.3466, allocations: 111.8 kB / 1.071 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.3467, allocations: 47.83 kB / 1.071 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3468, allocations: 99.34 kB / 1.071 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.3471, allocations: 191.6 kB / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3471, allocations: 0 / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3471, allocations: 0 / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3471, allocations: 0 / 1.071 GB, free: 8.117 MB / 0.8419 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.001208/0.3483, allocations: 0.5762 MB / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3484, allocations: 12.03 kB / 1.072 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.3484, allocations: 20.66 kB / 1.072 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.3489, allocations: 279.6 kB / 1.072 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3489, allocations: 4.375 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.349, allocations: 8.375 kB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.3496, allocations: 179.3 kB / 1.072 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3496, allocations: 0 / 1.072 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.3496, allocations: 11.94 kB / 1.072 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3496, allocations: 4 kB / 1.072 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.3503, allocations: 183.8 kB / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.3513, allocations: 0.4885 MB / 1.073 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.3517, allocations: 118.5 kB / 1.073 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.352, allocations: 112.8 kB / 1.073 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009646/0.353, allocations: 0.5493 MB / 1.073 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.353, allocations: 30.56 kB / 1.073 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.353, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.001238/0.3543, allocations: 365.2 kB / 1.074 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3543, allocations: 55.41 kB / 1.074 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.3546, allocations: 234.7 kB / 1.074 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.3546, allocations: 29.69 kB / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3548, allocations: 140 kB / 1.074 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.3548, allocations: 35.48 kB / 1.074 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.3549, allocations: 29.7 kB / 1.074 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3551, allocations: 334.8 kB / 1.075 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.3554, allocations: 95.91 kB / 1.075 GB, free: 3.945 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.3558, allocations: 91.91 kB / 1.075 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.3564, allocations: 205.2 kB / 1.075 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3564, allocations: 0 / 1.075 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007649/0.3572, allocations: 261.2 kB / 1.075 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3572, allocations: 4 kB / 1.075 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3573, allocations: 0 / 1.075 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3573, allocations: 8 kB / 1.075 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.3576, allocations: 43.94 kB / 1.075 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3576, allocations: 3.938 kB / 1.075 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.3579, allocations: 31.81 kB / 1.075 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.3579, allocations: 15.97 kB / 1.075 GB, free: 3.285 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.358, allocations: 130.4 kB / 1.075 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.3581, allocations: 15.81 kB / 1.075 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000884/0.359, allocations: 287.1 kB / 1.076 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.359, allocations: 4 kB / 1.076 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.359, allocations: 3.938 kB / 1.076 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.359, allocations: 0 / 1.076 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.3594, allocations: 273.4 kB / 1.076 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3594, allocations: 0 / 1.076 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.3597, allocations: 47.88 kB / 1.076 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3597, allocations: 0 / 1.076 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.3597, allocations: 15.98 kB / 1.076 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3597, allocations: 0 / 1.076 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3598, allocations: 3.938 kB / 1.076 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000845/0.3606, allocations: 355 kB / 1.076 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.3607, allocations: 116.7 kB / 1.077 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.3608, allocations: 0 / 1.077 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.361, allocations: 27.97 kB / 1.077 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3611, allocations: 19.91 kB / 1.077 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3612, allocations: 4 kB / 1.077 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001779/0.3613, allocations: 174 kB / 1.077 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3614, allocations: 0 / 1.077 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003575/0.3617, allocations: 52 kB / 1.077 GB, free: 1.695 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002777/0.362, allocations: 131.2 kB / 1.077 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008027/0.3628, allocations: 235.7 kB / 1.077 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3628, allocations: 0 / 1.077 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.3632, allocations: 115.9 kB / 1.077 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.3637, allocations: 33.25 kB / 1.077 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009671/0.3646, allocations: 0.4884 MB / 1.078 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4622/0.8268, allocations: 0.7286 MB / 1.078 GB, free: 22.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.8271, allocations: 26.31 kB / 1.078 GB, free: 22.51 MB / 0.8419 GB Notification: Performance of SimCode: time 1.002e-06/0.8271, allocations: 0.5625 kB / 1.078 GB, free: 22.51 MB / 0.8419 GB Notification: Performance of Templates: time 0.006212/0.8333, allocations: 2.985 MB / 1.081 GB, free: 22.39 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches