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.00167/0.00167, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002232/0.002232, allocations: 157.6 kB / 23.01 MB, free: 4.598 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.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.772/2.772, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002223/0.002223, allocations: 67.88 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9944, allocations: 176.1 MB / 1.154 GB, free: 33.54 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.004743/0.9991, allocations: 1.854 MB / 1.156 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006453/1.006, allocations: 3.469 MB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/1.006, allocations: 0 / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/1.007, allocations: 171.9 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003636/1.007, allocations: 82.78 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/1.008, allocations: 53.58 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007324/1.008, allocations: 277.7 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/1.009, allocations: 25.59 kB / 1.16 GB, free: 29.63 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/1.009, allocations: 83.16 kB / 1.16 GB, free: 29.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/1.009, allocations: 69.52 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/1.009, allocations: 8.25 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/1.009, allocations: 30.64 kB / 1.16 GB, free: 29.56 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/1.009, allocations: 58.94 kB / 1.16 GB, free: 29.54 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/1.009, allocations: 71.22 kB / 1.16 GB, free: 29.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/1.01, allocations: 207.1 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.01, allocations: 0 / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.565e-06/1.01, allocations: 4 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.01, allocations: 3.938 kB / 1.16 GB, free: 29.41 MB / 1.076 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.001182/1.011, allocations: 481.6 kB / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.011, allocations: 10.5 kB / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000657/1.012, allocations: 58.3 kB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006025/1.012, allocations: 209.9 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/1.012, allocations: 7.375 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/1.012, allocations: 3.344 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/1.013, allocations: 144.3 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.013, allocations: 0 / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/1.013, allocations: 0 / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/1.013, allocations: 11.92 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/1.014, allocations: 141.7 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/1.015, allocations: 391.9 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000708/1.015, allocations: 160.6 kB / 1.162 GB, free: 28.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/1.016, allocations: 99.84 kB / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/1.016, allocations: 0 / 1.162 GB, free: 28.35 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/1.016, allocations: 37.44 kB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/1.016, allocations: 0 / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.001477/1.017, allocations: 305.2 kB / 1.162 GB, free: 28.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/1.017, allocations: 54.06 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/1.018, allocations: 254.8 kB / 1.162 GB, free: 27.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/1.018, allocations: 32.73 kB / 1.162 GB, free: 27.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/1.018, allocations: 139.8 kB / 1.163 GB, free: 27.83 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/1.018, allocations: 52.45 kB / 1.163 GB, free: 27.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.704e-05/1.018, allocations: 25.55 kB / 1.163 GB, free: 27.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.99e-05/1.018, allocations: 345.6 kB / 1.163 GB, free: 27.44 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/1.018, allocations: 70.73 kB / 1.163 GB, free: 27.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/1.019, allocations: 75.45 kB / 1.163 GB, free: 27.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008083/1.02, allocations: 165.4 kB / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.02, allocations: 0 / 1.163 GB, free: 27.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009166/1.021, allocations: 223.3 kB / 1.164 GB, free: 27.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.021, allocations: 13.25 kB / 1.164 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.021, allocations: 0 / 1.164 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.021, allocations: 2.688 kB / 1.164 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/1.021, allocations: 30.52 kB / 1.164 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.021, allocations: 0 / 1.164 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/1.021, allocations: 14.58 kB / 1.164 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/1.021, allocations: 5.281 kB / 1.164 GB, free: 27.26 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 (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.0001605/1.022, allocations: 149.1 kB / 1.164 GB, free: 27.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/1.022, allocations: 22.83 kB / 1.164 GB, free: 27.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.192e-05/1.022, allocations: 34.62 kB / 1.164 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/1.022, allocations: 0 / 1.164 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.022, allocations: 0 / 1.164 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.022, allocations: 0 / 1.164 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/1.022, allocations: 207.5 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.022, allocations: 0 / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/1.023, allocations: 38.06 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/1.023, allocations: 11.17 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/1.023, allocations: 4 kB / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.023, allocations: 0 / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.023, allocations: 0 / 1.164 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009344/1.024, allocations: 323.7 kB / 1.164 GB, free: 26.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/1.024, allocations: 42 kB / 1.164 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/1.024, allocations: 2.312 kB / 1.164 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/1.024, allocations: 21.39 kB / 1.164 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/1.024, allocations: 8 kB / 1.164 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/1.024, allocations: 5.203 kB / 1.164 GB, free: 26.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002384/1.024, allocations: 186.6 kB / 1.165 GB, free: 26.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.11e-07/1.024, allocations: 3.938 kB / 1.165 GB, free: 26.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005437/1.025, allocations: 43.78 kB / 1.165 GB, free: 26.57 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 (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.0001896/1.025, allocations: 105.8 kB / 1.165 GB, free: 26.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009037/1.026, allocations: 177.7 kB / 1.165 GB, free: 26.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.026, allocations: 0 / 1.165 GB, free: 26.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004368/1.027, allocations: 89.38 kB / 1.165 GB, free: 26.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007582/1.027, allocations: 56.7 kB / 1.165 GB, free: 26.39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/1.029, allocations: 476.7 kB / 1.166 GB, free: 26.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/1.029, allocations: 133.4 kB / 1.166 GB, free: 26.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002952/1.029, allocations: 52.72 kB / 1.166 GB, free: 26.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/1.029, allocations: 23.7 kB / 1.166 GB, free: 26.02 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.029, allocations: 0 / 1.166 GB, free: 26.02 MB / 1.076 GB Notification: Performance of Templates: time 0.01025/1.039, allocations: 2.623 MB / 1.168 GB, free: 25.71 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.005165360984392]