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.001546/0.001546, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002141/0.002141, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.439/1.439, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.703/2.703, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 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.002166/0.002166, allocations: 71.88 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3002, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00347/0.3037, allocations: 1.962 MB / 1.119 GB, free: 0.582 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00523/0.3089, allocations: 3.557 MB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.3091, allocations: 0 / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.3094, allocations: 55.58 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.3099, allocations: 103.2 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.3103, allocations: 171.6 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.3108, allocations: 259 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.3109, allocations: 40.48 kB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.3112, allocations: 127.5 kB / 1.124 GB, free: 12.26 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.3114, allocations: 103.5 kB / 1.124 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.3114, allocations: 20 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.3117, allocations: 103.9 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.3118, allocations: 51.77 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.3119, allocations: 87.52 kB / 1.124 GB, free: 11.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.3123, allocations: 290.8 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3123, allocations: 0 / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3123, allocations: 0 / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3123, allocations: 0 / 1.124 GB, free: 11.62 MB / 1.076 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.001238/0.3136, allocations: 0.5317 MB / 1.125 GB, free: 11.05 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3136, allocations: 12.03 kB / 1.125 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/0.3141, allocations: 72.69 kB / 1.125 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.3146, allocations: 234.5 kB / 1.125 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3147, allocations: 8.375 kB / 1.125 GB, free: 10.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.3147, allocations: 8.375 kB / 1.125 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.3152, allocations: 177.6 kB / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3152, allocations: 0 / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3153, allocations: 0 / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3153, allocations: 0 / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.316, allocations: 197.7 kB / 1.125 GB, free: 10.33 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.3169, allocations: 404.1 kB / 1.126 GB, free: 9.906 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.3173, allocations: 118.5 kB / 1.126 GB, free: 9.781 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.3177, allocations: 112.6 kB / 1.126 GB, free: 9.668 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/0.3184, allocations: 100.1 kB / 1.126 GB, free: 9.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3184, allocations: 38.5 kB / 1.126 GB, free: 9.523 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.3184, allocations: 0 / 1.126 GB, free: 9.523 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.001274/0.3197, allocations: 349.5 kB / 1.126 GB, free: 9.176 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.3197, allocations: 55.41 kB / 1.127 GB, free: 9.109 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.32, allocations: 240.2 kB / 1.127 GB, free: 8.867 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.32, allocations: 33.64 kB / 1.127 GB, free: 8.828 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3201, allocations: 144 kB / 1.127 GB, free: 8.684 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.3202, allocations: 47.64 kB / 1.127 GB, free: 8.637 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/0.3203, allocations: 25.7 kB / 1.127 GB, free: 8.605 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3204, allocations: 342.8 kB / 1.127 GB, free: 8.262 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.3208, allocations: 99.78 kB / 1.127 GB, free: 8.164 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.3212, allocations: 99.91 kB / 1.127 GB, free: 8.066 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/0.3219, allocations: 192.7 kB / 1.128 GB, free: 7.875 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3219, allocations: 4 kB / 1.128 GB, free: 7.871 MB / 1.076 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008126/0.3227, allocations: 253.3 kB / 1.128 GB, free: 7.617 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3227, allocations: 4 kB / 1.128 GB, free: 7.613 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3227, allocations: 4 kB / 1.128 GB, free: 7.609 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3227, allocations: 4 kB / 1.128 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.323, allocations: 51.88 kB / 1.128 GB, free: 7.555 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3231, allocations: 0 / 1.128 GB, free: 7.555 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.3233, allocations: 31.84 kB / 1.128 GB, free: 7.523 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.3233, allocations: 7.984 kB / 1.128 GB, free: 7.516 MB / 1.076 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.0001253/0.3234, allocations: 129.8 kB / 1.128 GB, free: 7.379 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.3235, allocations: 23.81 kB / 1.128 GB, free: 7.355 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009768/0.3245, allocations: 284 kB / 1.128 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3245, allocations: 0 / 1.128 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3245, allocations: 0 / 1.128 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3245, allocations: 3.938 kB / 1.128 GB, free: 7.066 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.3248, allocations: 201.2 kB / 1.129 GB, free: 6.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3248, allocations: 0 / 1.129 GB, free: 6.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.3251, allocations: 39.95 kB / 1.129 GB, free: 6.801 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3251, allocations: 3.984 kB / 1.129 GB, free: 6.797 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.3251, allocations: 19.98 kB / 1.129 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3251, allocations: 0 / 1.129 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3251, allocations: 0 / 1.129 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/0.326, allocations: 363.1 kB / 1.129 GB, free: 6.406 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.473e-05/0.3261, allocations: 39.78 kB / 1.129 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.3261, allocations: 4 kB / 1.129 GB, free: 6.363 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.3263, allocations: 23.97 kB / 1.129 GB, free: 6.34 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.3264, allocations: 15.97 kB / 1.129 GB, free: 6.324 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3264, allocations: 7.984 kB / 1.129 GB, free: 6.316 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001677/0.3266, allocations: 179 kB / 1.129 GB, free: 6.141 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3266, allocations: 0 / 1.129 GB, free: 6.141 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003427/0.3269, allocations: 71.73 kB / 1.129 GB, free: 6.07 MB / 1.076 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.0002216/0.3272, allocations: 127.2 kB / 1.129 GB, free: 5.938 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008073/0.328, allocations: 215.7 kB / 1.13 GB, free: 5.727 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.328, allocations: 0 / 1.13 GB, free: 5.727 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.3284, allocations: 107.8 kB / 1.13 GB, free: 5.621 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.3288, allocations: 36.94 kB / 1.13 GB, free: 5.582 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.3297, allocations: 446.9 kB / 1.13 GB, free: 5.121 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.3298, allocations: 129.2 kB / 1.13 GB, free: 4.977 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.33, allocations: 36.55 kB / 1.13 GB, free: 4.941 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.33, allocations: 24.48 kB / 1.13 GB, free: 4.918 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/0.33, allocations: 4 kB / 1.13 GB, free: 4.914 MB / 1.076 GB Notification: Performance of Templates: time 0.006819/0.3369, allocations: 2.834 MB / 1.133 GB, free: 2.129 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.376878843992017]