Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001423/0.001423, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001716/0.001716, allocations: 213 kB / 22.25 MB, free: 4.855 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.801 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.421/3.421, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [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: 66.2 kB / 1.186 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3839, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.004162/0.3881, allocations: 1.856 MB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005376/0.3935, allocations: 3.457 MB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.3937, allocations: 3.938 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009742/0.3947, allocations: 179.2 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.3949, allocations: 75.47 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.3951, allocations: 55.92 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005455/0.3956, allocations: 283 kB / 1.37 GB, free: 7.613 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3957, allocations: 25.72 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.3959, allocations: 79.7 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.396, allocations: 75.67 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.396, allocations: 8 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.881e-05/0.3961, allocations: 27.92 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.303e-05/0.3962, allocations: 63.75 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.3963, allocations: 67.61 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.3966, allocations: 206.9 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3966, allocations: 4 kB / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3966, allocations: 0 / 1.37 GB, free: 7.066 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.3966, allocations: 0 / 1.37 GB, free: 7.066 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001062/0.3977, allocations: 476.8 kB / 1.371 GB, free: 6.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3977, allocations: 12.03 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008699/0.3986, allocations: 124.6 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.3992, allocations: 206.6 kB / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3992, allocations: 8.375 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.3992, allocations: 8.312 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.3996, allocations: 157.6 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3996, allocations: 3.984 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.3997, allocations: 3.984 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.3997, allocations: 12 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.4002, allocations: 155.9 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.4009, allocations: 400.1 kB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.4014, allocations: 182.5 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.4017, allocations: 104.8 kB / 1.372 GB, free: 5.148 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4017, allocations: 4.25 kB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.4018, allocations: 30.56 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.4018, allocations: 0 / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0009692/0.4027, allocations: 327 kB / 1.372 GB, free: 4.781 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.4028, allocations: 55.41 kB / 1.372 GB, free: 4.715 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.4031, allocations: 256.2 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.4031, allocations: 25.7 kB / 1.373 GB, free: 4.422 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.4032, allocations: 144.1 kB / 1.373 GB, free: 4.277 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.324e-05/0.4033, allocations: 43.62 kB / 1.373 GB, free: 4.234 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.763e-05/0.4034, allocations: 33.7 kB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.4036, allocations: 338.7 kB / 1.373 GB, free: 3.855 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.4039, allocations: 83.94 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.4041, allocations: 83.92 kB / 1.373 GB, free: 3.691 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.4046, allocations: 183.1 kB / 1.373 GB, free: 3.512 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4046, allocations: 4 kB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006175/0.4052, allocations: 233.3 kB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4052, allocations: 8 kB / 1.374 GB, free: 3.266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.4053, allocations: 0 / 1.374 GB, free: 3.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.4053, allocations: 4 kB / 1.374 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.4056, allocations: 31.97 kB / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4056, allocations: 0 / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.4058, allocations: 27.86 kB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.4058, allocations: 4 kB / 1.374 GB, free: 3.199 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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.000172/0.406, allocations: 141.7 kB / 1.374 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.406, allocations: 27.84 kB / 1.374 GB, free: 3.023 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.4061, allocations: 29.81 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4061, allocations: 4 kB / 1.374 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4061, allocations: 0 / 1.374 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4061, allocations: 3.984 kB / 1.374 GB, free: 2.988 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.4064, allocations: 213.1 kB / 1.374 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4064, allocations: 3.984 kB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.4067, allocations: 31.97 kB / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4067, allocations: 0 / 1.374 GB, free: 2.715 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.4067, allocations: 11.98 kB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4067, allocations: 0 / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4067, allocations: 4 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006825/0.4074, allocations: 339.1 kB / 1.375 GB, free: 2.352 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4075, allocations: 35.78 kB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.4076, allocations: 4 kB / 1.375 GB, free: 2.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.4078, allocations: 15.97 kB / 1.375 GB, free: 2.297 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.4078, allocations: 15.98 kB / 1.375 GB, free: 2.281 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.4079, allocations: 8 kB / 1.375 GB, free: 2.273 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001846/0.408, allocations: 191.1 kB / 1.375 GB, free: 2.086 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.408, allocations: 0 / 1.375 GB, free: 2.086 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002729/0.4083, allocations: 36 kB / 1.375 GB, free: 2.051 MB / 1.061 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 (13): * Single equations (assignments): 13 * 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.000156/0.4085, allocations: 95.25 kB / 1.375 GB, free: 1.945 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005912/0.4091, allocations: 198.4 kB / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4091, allocations: 0 / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.4093, allocations: 95.86 kB / 1.375 GB, free: 1.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.4098, allocations: 58.36 kB / 1.375 GB, free: 1.602 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009958/0.4108, allocations: 476.4 kB / 1.376 GB, free: 1.109 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.4109, allocations: 140.1 kB / 1.376 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.4111, allocations: 61.38 kB / 1.376 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.868e-05/0.4112, allocations: 19.42 kB / 1.376 GB, free: 0.875 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4112, allocations: 0 / 1.376 GB, free: 0.875 MB / 1.061 GB Notification: Performance of Templates: time 0.006966/0.4182, allocations: 3.03 MB / 1.379 GB, free: 13.93 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.382749179378152]