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.001806/0.001806, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002256/0.002256, allocations: 207 kB / 22.99 MB, free: 4.957 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.721/1.721, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.268/3.268, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002068/0.002068, allocations: 66.44 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3767, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004298/0.381, allocations: 2.012 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006953/0.3879, allocations: 3.9 MB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.3882, allocations: 4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.3897, allocations: 183.1 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.3899, allocations: 71.41 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.3912, allocations: 312.1 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009538/0.3921, allocations: 382.8 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.3924, allocations: 48.53 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.3926, allocations: 111.6 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.3929, allocations: 131.5 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.3929, allocations: 16 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007914/0.3937, allocations: 327.5 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.3939, allocations: 107.6 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.3941, allocations: 119.3 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009421/0.395, allocations: 0.5292 MB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.3951, allocations: 0 / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.636e-06/0.3951, allocations: 0 / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.3951, allocations: 0 / 1.335 GB, free: 8.758 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.00187/0.3969, allocations: 0.7002 MB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.944e-05/0.397, allocations: 12.03 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/0.3976, allocations: 88.59 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008943/0.3985, allocations: 288.7 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3985, allocations: 8.375 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.3985, allocations: 8.375 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.3992, allocations: 201.6 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3992, allocations: 0 / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.3992, allocations: 4 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3992, allocations: 4 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007461/0.3999, allocations: 247.8 kB / 1.337 GB, free: 7.145 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.4012, allocations: 0.5 MB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.4016, allocations: 170.5 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.402, allocations: 128.8 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.329e-05/0.4021, allocations: 19.98 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.4021, allocations: 38.56 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.4021, allocations: 0 / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001359/0.4035, allocations: 445.4 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.4035, allocations: 55.41 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.4041, allocations: 413.9 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.4041, allocations: 29.7 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.4043, allocations: 183.9 kB / 1.339 GB, free: 5.105 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.4044, allocations: 39.67 kB / 1.339 GB, free: 5.066 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.4045, allocations: 49.62 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.4047, allocations: 350.8 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.4052, allocations: 213.6 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.4056, allocations: 210.3 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008591/0.4065, allocations: 369.6 kB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4065, allocations: 0 / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001092/0.4076, allocations: 0.5122 MB / 1.34 GB, free: 3.336 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/0.4077, allocations: 43.41 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4077, allocations: 0 / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4077, allocations: 0 / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.408, allocations: 51.94 kB / 1.34 GB, free: 3.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.408, allocations: 7.984 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.4083, allocations: 35.86 kB / 1.34 GB, free: 3.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.4084, allocations: 11.92 kB / 1.34 GB, free: 3.184 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.0001954/0.4086, allocations: 158.3 kB / 1.34 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.4086, allocations: 39.72 kB / 1.341 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009862/0.4096, allocations: 344.6 kB / 1.341 GB, free: 2.637 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4096, allocations: 4 kB / 1.341 GB, free: 2.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4096, allocations: 4 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4096, allocations: 0 / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.41, allocations: 253.1 kB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.41, allocations: 3.984 kB / 1.341 GB, free: 2.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.4103, allocations: 47.89 kB / 1.341 GB, free: 2.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.4103, allocations: 0 / 1.341 GB, free: 2.301 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.4103, allocations: 7.984 kB / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4103, allocations: 0 / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4103, allocations: 0 / 1.341 GB, free: 2.293 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.4112, allocations: 427 kB / 1.342 GB, free: 1.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.4114, allocations: 63.62 kB / 1.342 GB, free: 1.797 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.4114, allocations: 0 / 1.342 GB, free: 1.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.4117, allocations: 27.97 kB / 1.342 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.4117, allocations: 15.97 kB / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.4118, allocations: 8 kB / 1.342 GB, free: 1.746 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003304/0.4121, allocations: 295.1 kB / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4121, allocations: 0 / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000522/0.4126, allocations: 119.8 kB / 1.342 GB, free: 1.344 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.0003643/0.413, allocations: 178.9 kB / 1.342 GB, free: 1.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.414, allocations: 465.6 kB / 1.343 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4141, allocations: 0 / 1.343 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.4144, allocations: 139.8 kB / 1.343 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.4149, allocations: 61.98 kB / 1.343 GB, free: 500 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.4162, allocations: 0.6433 MB / 1.343 GB, free: 15.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.4164, allocations: 183.2 kB / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.4166, allocations: 49.91 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.4166, allocations: 27.42 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of SimCode: time 8.62e-07/0.4167, allocations: 4 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of Templates: time 0.01128/0.4279, allocations: 5.555 MB / 1.349 GB, free: 10.07 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 -s cvode -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: 9.499029903003247]