Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001294/0.001294, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001594/0.001594, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437.1 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 71.89 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3272, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004024/0.3313, allocations: 2.023 MB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005199/0.3365, allocations: 3.673 MB / 1.024 GB, free: 4.879 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.3367, allocations: 0 / 1.024 GB, free: 4.879 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.3371, allocations: 71.42 kB / 1.024 GB, free: 4.809 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.3376, allocations: 107.3 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.338, allocations: 127.7 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.3384, allocations: 251.1 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3386, allocations: 52.23 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.3389, allocations: 111.6 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.3391, allocations: 119.5 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.3391, allocations: 16 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.3394, allocations: 119.8 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.3395, allocations: 47.77 kB / 1.025 GB, free: 3.875 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.3396, allocations: 99.39 kB / 1.025 GB, free: 3.777 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.34, allocations: 275.1 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3401, allocations: 0 / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3401, allocations: 0 / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3401, allocations: 0 / 1.025 GB, free: 3.508 MB / 0.795 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.001256/0.3413, allocations: 0.5762 MB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3414, allocations: 8.922 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/0.3415, allocations: 24.66 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.3419, allocations: 279.5 kB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.342, allocations: 4.375 kB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.342, allocations: 8.375 kB / 1.026 GB, free: 2.531 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.3425, allocations: 179.5 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3425, allocations: 4 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3426, allocations: 4 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3426, allocations: 0 / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006879/0.3433, allocations: 187.8 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009169/0.3442, allocations: 0.4885 MB / 1.027 GB, free: 1.621 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.3447, allocations: 122.5 kB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.345, allocations: 112.7 kB / 1.027 GB, free: 1.379 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009354/0.346, allocations: 0.5493 MB / 1.027 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.346, allocations: 34.56 kB / 1.027 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.346, allocations: 0 / 1.027 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.001237/0.3473, allocations: 357.6 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.3473, allocations: 51.41 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.3476, allocations: 238.7 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.3476, allocations: 25.7 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3477, allocations: 136 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.3478, allocations: 35.45 kB / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.3479, allocations: 33.7 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.348, allocations: 334.8 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.3484, allocations: 99.84 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.3487, allocations: 99.84 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.3494, allocations: 196.6 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3495, allocations: 4 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007872/0.3503, allocations: 249.2 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3503, allocations: 4 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3503, allocations: 7.984 kB / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3503, allocations: 0 / 1.029 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.3506, allocations: 51.88 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3507, allocations: 7.875 kB / 1.029 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.3509, allocations: 35.89 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3509, allocations: 0 / 1.029 GB, free: 14.68 MB / 0.8106 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.0001231/0.351, allocations: 125.8 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.3511, allocations: 27.7 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008909/0.352, allocations: 283.1 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.352, allocations: 3.984 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.352, allocations: 3.938 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.352, allocations: 4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.3524, allocations: 273.4 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3524, allocations: 0 / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.3527, allocations: 47.94 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3527, allocations: 0 / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3527, allocations: 7.938 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3527, allocations: 4 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3527, allocations: 3.938 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008701/0.3536, allocations: 355 kB / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3537, allocations: 108.8 kB / 1.03 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.3538, allocations: 11.98 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.3541, allocations: 19.97 kB / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.3541, allocations: 23.92 kB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3542, allocations: 3.984 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001537/0.3543, allocations: 170 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3543, allocations: 0 / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003282/0.3547, allocations: 59.89 kB / 1.031 GB, free: 13.07 MB / 0.8106 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.0002305/0.3549, allocations: 135.2 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008152/0.3557, allocations: 220.4 kB / 1.031 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3557, allocations: 4 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.3561, allocations: 124 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.3566, allocations: 29.61 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009317/0.3575, allocations: 468 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.3579, allocations: 0.7314 MB / 1.032 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.358, allocations: 23.42 kB / 1.032 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of SimCode: time 1.874e-06/0.358, allocations: 4 kB / 1.032 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of Templates: time 0.005309/0.3633, allocations: 2.986 MB / 1.035 GB, free: 8.332 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches