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.00142/0.00142, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001538/0.001538, allocations: 219.5 kB / 22.99 MB, free: 4.914 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.335/3.335, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 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.002071/0.002071, allocations: 66.08 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3774, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003637/0.381, allocations: 2.008 MB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005678/0.3867, allocations: 3.896 MB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.3868, allocations: 3.938 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000872/0.3877, allocations: 187.1 kB / 1.371 GB, free: 7.441 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.3878, allocations: 59.38 kB / 1.371 GB, free: 7.383 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008516/0.3887, allocations: 311.3 kB / 1.371 GB, free: 7.078 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.3893, allocations: 390.8 kB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3895, allocations: 36.55 kB / 1.371 GB, free: 6.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.3897, allocations: 127.5 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.3899, allocations: 119.4 kB / 1.372 GB, free: 6.418 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.3899, allocations: 19.94 kB / 1.372 GB, free: 6.398 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005769/0.3905, allocations: 311.5 kB / 1.372 GB, free: 6.094 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.3906, allocations: 99.7 kB / 1.372 GB, free: 5.996 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.3908, allocations: 123.2 kB / 1.372 GB, free: 5.875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006856/0.3914, allocations: 0.5292 MB / 1.373 GB, free: 5.344 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3914, allocations: 0 / 1.373 GB, free: 5.344 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3914, allocations: 0 / 1.373 GB, free: 5.344 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.3915, allocations: 4 kB / 1.373 GB, free: 5.34 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.001463/0.3929, allocations: 0.6977 MB / 1.373 GB, free: 4.605 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.393, allocations: 8.031 kB / 1.373 GB, free: 4.598 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.394, allocations: 160.5 kB / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007857/0.3948, allocations: 300.6 kB / 1.374 GB, free: 4.125 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3948, allocations: 12.36 kB / 1.374 GB, free: 4.113 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.3949, allocations: 4.375 kB / 1.374 GB, free: 4.109 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.3954, allocations: 217.6 kB / 1.374 GB, free: 3.891 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3955, allocations: 4 kB / 1.374 GB, free: 3.887 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.3955, allocations: 0 / 1.374 GB, free: 3.887 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3955, allocations: 0 / 1.374 GB, free: 3.887 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.3962, allocations: 259.8 kB / 1.374 GB, free: 3.633 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.3974, allocations: 0.5156 MB / 1.375 GB, free: 3.086 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.3979, allocations: 178.4 kB / 1.375 GB, free: 2.902 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.3983, allocations: 136.8 kB / 1.375 GB, free: 2.766 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-05/0.3983, allocations: 15.98 kB / 1.375 GB, free: 2.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.3984, allocations: 38.56 kB / 1.375 GB, free: 2.703 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 3.336e-06/0.3984, allocations: 3.984 kB / 1.375 GB, free: 2.699 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001366/0.3997, allocations: 469.2 kB / 1.376 GB, free: 2.234 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3998, allocations: 55.62 kB / 1.376 GB, free: 2.168 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.4003, allocations: 421.9 kB / 1.376 GB, free: 1.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4003, allocations: 25.7 kB / 1.376 GB, free: 1.719 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.4005, allocations: 184 kB / 1.376 GB, free: 1.535 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.4005, allocations: 39.64 kB / 1.376 GB, free: 1.496 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.4006, allocations: 45.69 kB / 1.376 GB, free: 1.445 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4008, allocations: 354.7 kB / 1.377 GB, free: 1.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.4013, allocations: 221.6 kB / 1.377 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.4018, allocations: 217.6 kB / 1.377 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008782/0.4026, allocations: 377.5 kB / 1.377 GB, free: 280 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4026, allocations: 4 kB / 1.377 GB, free: 276 kB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001128/0.4038, allocations: 0.5278 MB / 1.378 GB, free: 15.72 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.4038, allocations: 41.69 kB / 1.378 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4038, allocations: 0 / 1.378 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.4039, allocations: 4 kB / 1.378 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.4042, allocations: 55.81 kB / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4042, allocations: 0 / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.4045, allocations: 39.86 kB / 1.378 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.4045, allocations: 11.92 kB / 1.378 GB, free: 15.57 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.0001899/0.4047, allocations: 153.8 kB / 1.378 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.4048, allocations: 35.77 kB / 1.378 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.4059, allocations: 384.5 kB / 1.379 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4059, allocations: 0 / 1.379 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4059, allocations: 0 / 1.379 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4059, allocations: 0 / 1.379 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/0.4062, allocations: 265 kB / 1.379 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4062, allocations: 4 kB / 1.379 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.4066, allocations: 47.94 kB / 1.379 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4066, allocations: 4 kB / 1.379 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4066, allocations: 0 / 1.379 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4066, allocations: 0 / 1.379 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4066, allocations: 0 / 1.379 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.4075, allocations: 455.7 kB / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.4077, allocations: 59.62 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.4077, allocations: 0 / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.408, allocations: 27.97 kB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.4081, allocations: 19.97 kB / 1.379 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.4081, allocations: 7.984 kB / 1.379 GB, free: 14.07 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003375/0.4085, allocations: 295.1 kB / 1.38 GB, free: 13.78 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4085, allocations: 0 / 1.38 GB, free: 13.78 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004793/0.4089, allocations: 111.9 kB / 1.38 GB, free: 13.67 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.0003467/0.4093, allocations: 174.9 kB / 1.38 GB, free: 13.49 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.4104, allocations: 488.7 kB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4104, allocations: 0 / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.4108, allocations: 139.9 kB / 1.381 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.4113, allocations: 69.53 kB / 1.381 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.4126, allocations: 0.6841 MB / 1.381 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.4128, allocations: 187.1 kB / 1.382 GB, free: 11.87 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4129, allocations: 35.41 kB / 1.382 GB, free: 11.84 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.4129, allocations: 0 / 1.382 GB, free: 11.84 MB / 1.076 GB Notification: Performance of Templates: time 0.008592/0.4215, allocations: 5.184 MB / 1.387 GB, free: 6.691 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/jenkins1/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: 12.325499299913645]