Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002158/0.002158, allocations: 109.5 kB / 16.46 MB, free: 6.508 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.002784/0.002784, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.569/1.569, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.488/3.488, allocations: 0.4899 GB / 0.7915 GB, free: 33.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.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_12_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_12_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.002149/0.002149, allocations: 68.72 kB / 1.149 GB, free: 26.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3863, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003568/0.3899, allocations: 1.918 MB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005186/0.3951, allocations: 3.724 MB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3952, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008232/0.396, allocations: 191.1 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.3962, allocations: 79.47 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.3964, allocations: 55.86 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.3969, allocations: 271.1 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.397, allocations: 25.53 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3972, allocations: 87.56 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.3973, allocations: 83.61 kB / 1.328 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3973, allocations: 12 kB / 1.328 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3975, allocations: 31.98 kB / 1.328 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.3975, allocations: 63.69 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.955e-05/0.3976, allocations: 83.48 kB / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.3979, allocations: 203 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3979, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3979, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3979, allocations: 0 / 1.328 GB, free: 12.01 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009909/0.3989, allocations: 0.5487 MB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.399, allocations: 8.031 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/0.3994, allocations: 56.75 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.3999, allocations: 275.7 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3999, allocations: 4.375 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3999, allocations: 8.375 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.4003, allocations: 141.6 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4003, allocations: 0 / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4004, allocations: 4 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.4004, allocations: 8 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.4009, allocations: 147.8 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008451/0.4017, allocations: 460.5 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.4022, allocations: 168.5 kB / 1.33 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.4025, allocations: 96.78 kB / 1.33 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.4025, allocations: 7.984 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.4025, allocations: 38.44 kB / 1.33 GB, free: 9.906 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.4025, allocations: 4 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.00094/0.4035, allocations: 297.6 kB / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.4035, allocations: 55.41 kB / 1.33 GB, free: 9.539 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.4038, allocations: 259 kB / 1.33 GB, free: 9.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.4039, allocations: 25.7 kB / 1.33 GB, free: 9.238 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.404, allocations: 136.1 kB / 1.331 GB, free: 9.102 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.404, allocations: 39.66 kB / 1.331 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.4041, allocations: 33.69 kB / 1.331 GB, free: 9.023 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4043, allocations: 334.8 kB / 1.331 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.4045, allocations: 83.92 kB / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.4048, allocations: 75.88 kB / 1.331 GB, free: 8.531 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.4053, allocations: 162.4 kB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4053, allocations: 4 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005826/0.4059, allocations: 222.4 kB / 1.331 GB, free: 8.145 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4059, allocations: 4 kB / 1.331 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4059, allocations: 7.938 kB / 1.331 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4059, allocations: 0 / 1.331 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.4062, allocations: 43.89 kB / 1.331 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4062, allocations: 0 / 1.331 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.4064, allocations: 19.92 kB / 1.332 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.4064, allocations: 7.984 kB / 1.332 GB, free: 8.062 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 (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.0001329/0.4065, allocations: 137.8 kB / 1.332 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.4066, allocations: 23.86 kB / 1.332 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.608e-05/0.4066, allocations: 29.86 kB / 1.332 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4066, allocations: 4 kB / 1.332 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4067, allocations: 0 / 1.332 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4067, allocations: 0 / 1.332 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.407, allocations: 285.4 kB / 1.332 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.407, allocations: 0 / 1.332 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.4072, allocations: 35.91 kB / 1.332 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4072, allocations: 0 / 1.332 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.4072, allocations: 7.984 kB / 1.332 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4072, allocations: 0 / 1.332 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4072, allocations: 0 / 1.332 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006552/0.4079, allocations: 323.7 kB / 1.332 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.408, allocations: 124.8 kB / 1.332 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.4081, allocations: 0 / 1.332 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4083, allocations: 19.98 kB / 1.332 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.4083, allocations: 11.98 kB / 1.332 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.4083, allocations: 8 kB / 1.332 GB, free: 6.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001952/0.4085, allocations: 182 kB / 1.333 GB, free: 6.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4085, allocations: 0 / 1.333 GB, free: 6.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002991/0.4088, allocations: 47.92 kB / 1.333 GB, free: 6.758 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 (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.0002263/0.4091, allocations: 111.1 kB / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005817/0.4096, allocations: 171.7 kB / 1.333 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4096, allocations: 0 / 1.333 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.4099, allocations: 91.86 kB / 1.333 GB, free: 6.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.4103, allocations: 53.8 kB / 1.333 GB, free: 6.328 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/0.4113, allocations: 482 kB / 1.334 GB, free: 5.832 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.4118, allocations: 0.7436 MB / 1.334 GB, free: 5.062 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001642/0.4119, allocations: 53.38 kB / 1.334 GB, free: 5.012 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.26e-05/0.412, allocations: 27.42 kB / 1.334 GB, free: 4.984 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.412, allocations: 0 / 1.334 GB, free: 4.984 MB / 1.029 GB Notification: Performance of Templates: time 0.006395/0.4184, allocations: 2.531 MB / 1.337 GB, free: 2.5 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.412065020762384]