Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001975/0.001975, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.002602/0.002602, allocations: 210.4 kB / 22.24 MB, free: 5.102 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.512/3.512, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_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.002186/0.002186, allocations: 72.17 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3743, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003743/0.378, allocations: 2.004 MB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005885/0.3839, allocations: 3.892 MB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3841, allocations: 7.938 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008894/0.385, allocations: 187 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.3852, allocations: 67.44 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.386, allocations: 309.7 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007303/0.3868, allocations: 394.8 kB / 1.371 GB, free: 6.719 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3869, allocations: 36.55 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.3871, allocations: 123.5 kB / 1.371 GB, free: 6.562 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.3873, allocations: 111.5 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.3874, allocations: 19.94 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005849/0.3879, allocations: 307.5 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.3881, allocations: 111.6 kB / 1.371 GB, free: 6.023 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.3882, allocations: 123.2 kB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007531/0.389, allocations: 0.5253 MB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.389, allocations: 0 / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.389, allocations: 0 / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.389, allocations: 0 / 1.372 GB, free: 5.375 MB / 1.061 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.001412/0.3904, allocations: 0.7041 MB / 1.373 GB, free: 4.633 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3905, allocations: 8.031 kB / 1.373 GB, free: 4.625 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.3915, allocations: 160.5 kB / 1.373 GB, free: 4.469 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/0.3923, allocations: 296.7 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.3923, allocations: 8.375 kB / 1.373 GB, free: 4.148 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.3923, allocations: 8.312 kB / 1.373 GB, free: 4.141 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.3929, allocations: 223.3 kB / 1.373 GB, free: 3.918 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3929, allocations: 0 / 1.373 GB, free: 3.918 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.393, allocations: 0 / 1.373 GB, free: 3.918 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.393, allocations: 4 kB / 1.373 GB, free: 3.914 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007802/0.3938, allocations: 255.8 kB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3949, allocations: 0.5156 MB / 1.374 GB, free: 3.117 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.3954, allocations: 174.5 kB / 1.374 GB, free: 2.938 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.3958, allocations: 132.8 kB / 1.374 GB, free: 2.805 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.389e-05/0.3959, allocations: 23.97 kB / 1.374 GB, free: 2.781 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.3959, allocations: 34.56 kB / 1.374 GB, free: 2.738 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.3959, allocations: 4 kB / 1.374 GB, free: 2.734 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001431/0.3974, allocations: 477.3 kB / 1.375 GB, free: 2.262 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3974, allocations: 55.41 kB / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/0.3979, allocations: 413.9 kB / 1.375 GB, free: 1.785 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.3979, allocations: 25.7 kB / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.3981, allocations: 184 kB / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.3982, allocations: 43.62 kB / 1.375 GB, free: 1.527 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.894e-05/0.3983, allocations: 45.69 kB / 1.375 GB, free: 1.477 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.3984, allocations: 350.7 kB / 1.376 GB, free: 1.125 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.3989, allocations: 221.6 kB / 1.376 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.3994, allocations: 221.6 kB / 1.376 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.4003, allocations: 383.9 kB / 1.377 GB, free: 304 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4003, allocations: 4 kB / 1.377 GB, free: 300 kB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001153/0.4015, allocations: 0.5295 MB / 1.377 GB, free: 15.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.4015, allocations: 41.69 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4015, allocations: 3.984 kB / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4016, allocations: 0 / 1.377 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.4019, allocations: 55.88 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.4019, allocations: 4 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.4022, allocations: 31.86 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.4023, allocations: 11.92 kB / 1.377 GB, free: 15.59 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001855/0.4024, allocations: 157.8 kB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.4025, allocations: 35.77 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.4036, allocations: 377.2 kB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4036, allocations: 0 / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4036, allocations: 4 kB / 1.378 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.4036, allocations: 7.984 kB / 1.378 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.404, allocations: 257 kB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.404, allocations: 0 / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.4043, allocations: 55.88 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4043, allocations: 0 / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.4044, allocations: 3.984 kB / 1.378 GB, free: 14.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4044, allocations: 4 kB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4044, allocations: 0 / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009558/0.4053, allocations: 447 kB / 1.379 GB, free: 14.21 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.4055, allocations: 63.61 kB / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.4055, allocations: 0 / 1.379 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.4058, allocations: 31.97 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.4059, allocations: 15.97 kB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.4059, allocations: 4 kB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003322/0.4063, allocations: 299.1 kB / 1.379 GB, free: 13.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4063, allocations: 0 / 1.379 GB, free: 13.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004589/0.4067, allocations: 111.9 kB / 1.379 GB, free: 13.7 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.0003455/0.4071, allocations: 178.9 kB / 1.379 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.4082, allocations: 476.8 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4082, allocations: 4 kB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.4086, allocations: 143.8 kB / 1.38 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.4091, allocations: 65.55 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.4103, allocations: 0.6434 MB / 1.381 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.4105, allocations: 191.1 kB / 1.381 GB, free: 11.94 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002436/0.4107, allocations: 57.91 kB / 1.381 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4108, allocations: 27.42 kB / 1.381 GB, free: 11.86 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/0.4108, allocations: 0 / 1.381 GB, free: 11.86 MB / 1.076 GB Notification: Performance of Templates: time 0.01107/0.4219, allocations: 5.633 MB / 1.386 GB, free: 6.305 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.578727515414357]