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.001584/0.001584, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002115/0.002115, allocations: 211.5 kB / 22.24 MB, free: 5.242 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.599/1.599, allocations: 230.6 MB / 256 MB, free: 7.809 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.35/3.35, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 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.002086/0.002086, allocations: 68.42 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3976, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003647/0.4012, allocations: 1.848 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005196/0.4064, allocations: 3.452 MB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.4065, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009417/0.4075, allocations: 183.1 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.4077, allocations: 83.45 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.4079, allocations: 51.88 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000518/0.4084, allocations: 283.1 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.719e-05/0.4085, allocations: 21.72 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.4086, allocations: 75.7 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.4088, allocations: 87.55 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.4088, allocations: 8 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.4089, allocations: 27.98 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.409, allocations: 55.75 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.4091, allocations: 83.53 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.4094, allocations: 195 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4094, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4094, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.4094, allocations: 0 / 1.332 GB, free: 11.38 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.0009201/0.4103, allocations: 480.7 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4103, allocations: 12.02 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003794/0.4107, allocations: 56.77 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.4112, allocations: 206.6 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4112, allocations: 12.38 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.4112, allocations: 384 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.4116, allocations: 157.6 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4117, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.4117, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.4117, allocations: 12 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004643/0.4122, allocations: 143.8 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007426/0.4129, allocations: 384.2 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.4134, allocations: 166.4 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.4136, allocations: 96.78 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.4136, allocations: 0 / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.4137, allocations: 46.5 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.4137, allocations: 0 / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0009081/0.4146, allocations: 296.4 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4146, allocations: 51.41 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.4149, allocations: 256.2 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.415, allocations: 29.7 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4151, allocations: 136.1 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.4151, allocations: 47.64 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.4152, allocations: 25.7 kB / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4154, allocations: 342.8 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.4156, allocations: 71.94 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.4159, allocations: 75.94 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.4163, allocations: 164.7 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4163, allocations: 4 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005834/0.4169, allocations: 226.9 kB / 1.335 GB, free: 7.777 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4169, allocations: 9.562 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4169, allocations: 0 / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.417, allocations: 0 / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.4172, allocations: 35.95 kB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.4172, allocations: 3.938 kB / 1.335 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.4174, allocations: 19.92 kB / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.4174, allocations: 8 kB / 1.335 GB, free: 7.703 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.0001533/0.4175, allocations: 142.3 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.4176, allocations: 19.86 kB / 1.335 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.4177, allocations: 29.81 kB / 1.335 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.4177, allocations: 11.92 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.4177, allocations: 0 / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4177, allocations: 0 / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.418, allocations: 205.1 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.418, allocations: 4 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.4182, allocations: 35.95 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4182, allocations: 0 / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4182, allocations: 3.938 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4182, allocations: 3.938 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4182, allocations: 4 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.4189, allocations: 328.5 kB / 1.336 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.419, allocations: 43.72 kB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.419, allocations: 0 / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.4192, allocations: 15.98 kB / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.4193, allocations: 11.97 kB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.4193, allocations: 8 kB / 1.336 GB, free: 6.797 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001935/0.4195, allocations: 183.1 kB / 1.336 GB, free: 6.617 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4195, allocations: 0 / 1.336 GB, free: 6.617 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002968/0.4198, allocations: 40 kB / 1.336 GB, free: 6.578 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.0001981/0.42, allocations: 115.1 kB / 1.336 GB, free: 6.453 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005674/0.4205, allocations: 163.9 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4205, allocations: 0 / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.4208, allocations: 95.86 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.4212, allocations: 51.25 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009599/0.4222, allocations: 482.2 kB / 1.337 GB, free: 5.652 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.4224, allocations: 136.1 kB / 1.337 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001676/0.4225, allocations: 53.38 kB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.4226, allocations: 23.42 kB / 1.337 GB, free: 5.426 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4226, allocations: 3.938 kB / 1.337 GB, free: 5.422 MB / 1.029 GB Notification: Performance of Templates: time 0.006826/0.4294, allocations: 2.897 MB / 1.34 GB, free: 2.605 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.505201974883676]