Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001518/0.001518, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002037/0.002037, allocations: 216.7 kB / 23.04 MB, free: 4.863 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: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.183/3.183, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_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_12_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.002055/0.002055, allocations: 61.78 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3688, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003572/0.3723, allocations: 2.01 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005437/0.3778, allocations: 3.9 MB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3779, allocations: 7.938 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007895/0.3787, allocations: 179.1 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.3788, allocations: 67.41 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007295/0.3795, allocations: 308.3 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006599/0.3802, allocations: 398.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3803, allocations: 32.56 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.3805, allocations: 115.5 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.3807, allocations: 123.4 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.3807, allocations: 16 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.3812, allocations: 323.5 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.3813, allocations: 99.7 kB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.3815, allocations: 119.3 kB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.3822, allocations: 0.5253 MB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3822, allocations: 4 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3822, allocations: 0 / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3822, allocations: 0 / 1.335 GB, free: 8.766 MB / 1.029 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.001336/0.3835, allocations: 0.7019 MB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3835, allocations: 8.031 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.384, allocations: 84.59 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.3846, allocations: 300.6 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3846, allocations: 8.375 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3847, allocations: 4.375 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.3852, allocations: 197.6 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3852, allocations: 0 / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3852, allocations: 8 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3852, allocations: 0 / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007398/0.3859, allocations: 247.7 kB / 1.337 GB, free: 7.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009452/0.3869, allocations: 0.5039 MB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.3874, allocations: 170.4 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.3877, allocations: 128.8 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-05/0.3878, allocations: 19.98 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3878, allocations: 30.56 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3878, allocations: 0 / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001323/0.3891, allocations: 449.5 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3892, allocations: 59.28 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.3897, allocations: 417.9 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3897, allocations: 25.7 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3899, allocations: 183.9 kB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.3899, allocations: 35.69 kB / 1.339 GB, free: 5.082 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.39, allocations: 45.69 kB / 1.339 GB, free: 5.031 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3902, allocations: 354.7 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.3906, allocations: 205.6 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.3911, allocations: 210.1 kB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/0.3919, allocations: 365.9 kB / 1.34 GB, free: 3.895 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3919, allocations: 3.938 kB / 1.34 GB, free: 3.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001063/0.393, allocations: 0.5122 MB / 1.34 GB, free: 3.359 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/0.393, allocations: 41.69 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.393, allocations: 3.938 kB / 1.34 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.393, allocations: 0 / 1.34 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.3933, allocations: 47.94 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3934, allocations: 4 kB / 1.34 GB, free: 3.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.3936, allocations: 35.86 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.3936, allocations: 11.92 kB / 1.34 GB, free: 3.211 MB / 1.029 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.0001714/0.3938, allocations: 154.3 kB / 1.341 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.3939, allocations: 39.72 kB / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009626/0.3948, allocations: 356.6 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3948, allocations: 3.984 kB / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3948, allocations: 0 / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3948, allocations: 0 / 1.341 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.3952, allocations: 261.1 kB / 1.341 GB, free: 2.367 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3952, allocations: 4 kB / 1.341 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.3955, allocations: 43.95 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3955, allocations: 0 / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3955, allocations: 7.984 kB / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3955, allocations: 0 / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3955, allocations: 0 / 1.341 GB, free: 2.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.3964, allocations: 435.7 kB / 1.342 GB, free: 1.871 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3965, allocations: 55.62 kB / 1.342 GB, free: 1.816 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.3966, allocations: 8 kB / 1.342 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.3968, allocations: 19.97 kB / 1.342 GB, free: 1.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.3969, allocations: 19.97 kB / 1.342 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3969, allocations: 4 kB / 1.342 GB, free: 1.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003349/0.3973, allocations: 299.1 kB / 1.342 GB, free: 1.473 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3973, allocations: 0 / 1.342 GB, free: 1.473 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004618/0.3977, allocations: 119.8 kB / 1.342 GB, free: 1.355 MB / 1.029 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.0003268/0.398, allocations: 171 kB / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.3991, allocations: 472.8 kB / 1.343 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3991, allocations: 0 / 1.343 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.3995, allocations: 139.8 kB / 1.343 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.4, allocations: 66.66 kB / 1.343 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.4012, allocations: 0.6763 MB / 1.344 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.4014, allocations: 179.2 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4015, allocations: 35.41 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of SimCode: time 7.61e-07/0.4015, allocations: 0 / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of Templates: time 0.008446/0.41, allocations: 5.068 MB / 1.349 GB, free: 10.52 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.952419960172847]