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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002477/0.002477, allocations: 219.1 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 63.81 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2933, allocations: 169.9 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003426/0.2967, allocations: 2.082 MB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004999/0.3017, allocations: 3.864 MB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.3018, allocations: 3.938 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.3021, allocations: 59.55 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.3024, allocations: 111.2 kB / 1.291 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.3029, allocations: 159.6 kB / 1.291 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00038/0.3033, allocations: 267 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3034, allocations: 40.5 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.3036, allocations: 119.6 kB / 1.291 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3038, allocations: 123.4 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.3039, allocations: 16 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.3041, allocations: 127.8 kB / 1.291 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.3042, allocations: 43.84 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.3043, allocations: 107.3 kB / 1.292 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.3047, allocations: 298.8 kB / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3047, allocations: 0 / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3047, allocations: 0 / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3047, allocations: 0 / 1.292 GB, free: 3.789 MB / 0.9825 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.001154/0.3059, allocations: 0.5292 MB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3059, allocations: 8.031 kB / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.3063, allocations: 72.69 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.3069, allocations: 234.6 kB / 1.293 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3069, allocations: 8.312 kB / 1.293 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.3069, allocations: 8.375 kB / 1.293 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.3074, allocations: 173.6 kB / 1.293 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3074, allocations: 0 / 1.293 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.3075, allocations: 8 kB / 1.293 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3075, allocations: 0 / 1.293 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000666/0.3081, allocations: 191.8 kB / 1.293 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000917/0.3091, allocations: 463.4 kB / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.3095, allocations: 118.5 kB / 1.294 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.3098, allocations: 105 kB / 1.294 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006759/0.3105, allocations: 107.8 kB / 1.294 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3105, allocations: 30.56 kB / 1.294 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.3105, allocations: 0 / 1.294 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001192/0.3117, allocations: 361.4 kB / 1.294 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.3118, allocations: 51.41 kB / 1.294 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.312, allocations: 248.2 kB / 1.294 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3121, allocations: 29.7 kB / 1.294 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3122, allocations: 140 kB / 1.295 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.3123, allocations: 47.62 kB / 1.295 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.3123, allocations: 33.64 kB / 1.295 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3125, allocations: 334.8 kB / 1.295 GB, free: 380 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.3128, allocations: 103.8 kB / 1.295 GB, free: 276 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.3131, allocations: 95.91 kB / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/0.3138, allocations: 200.6 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3138, allocations: 0 / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007709/0.3146, allocations: 258 kB / 1.296 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3146, allocations: 4 kB / 1.296 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3146, allocations: 0 / 1.296 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3146, allocations: 4 kB / 1.296 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.3149, allocations: 51.94 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3149, allocations: 3.938 kB / 1.296 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.3152, allocations: 23.97 kB / 1.296 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.3152, allocations: 7.984 kB / 1.296 GB, free: 15.62 MB / 0.9981 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.000132/0.3153, allocations: 136.1 kB / 1.296 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.3154, allocations: 27.81 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008542/0.3162, allocations: 279.3 kB / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3162, allocations: 0 / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3162, allocations: 3.938 kB / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3162, allocations: 0 / 1.296 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.3166, allocations: 248.5 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3166, allocations: 0 / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.3168, allocations: 47.88 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3168, allocations: 0 / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.3169, allocations: 8 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3169, allocations: 4 kB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3169, allocations: 7.922 kB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008023/0.3177, allocations: 355.3 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.3178, allocations: 39.78 kB / 1.297 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.3178, allocations: 4 kB / 1.297 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.3181, allocations: 27.95 kB / 1.297 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/0.3181, allocations: 15.92 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3181, allocations: 11.92 kB / 1.297 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001731/0.3183, allocations: 179.1 kB / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3183, allocations: 3.938 kB / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003286/0.3186, allocations: 59.86 kB / 1.297 GB, free: 14.12 MB / 0.9981 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.0002466/0.3189, allocations: 131.1 kB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007636/0.3197, allocations: 207.8 kB / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.3197, allocations: 4 kB / 1.297 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.32, allocations: 115.8 kB / 1.298 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.3204, allocations: 43.14 kB / 1.298 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/0.3213, allocations: 471.9 kB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3218, allocations: 0.747 MB / 1.299 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.3219, allocations: 19.42 kB / 1.299 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3219, allocations: 0 / 1.299 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of Templates: time 0.005751/0.3276, allocations: 3.146 MB / 1.302 GB, free: 9.207 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.373130355990725]