Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001443/0.001443, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001596/0.001596, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.665/2.665, allocations: 359.1 MB / 0.6044 GB, free: 14.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_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.00211/0.00211, allocations: 63.89 kB / 0.9515 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2976, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003281/0.3009, allocations: 1.882 MB / 1.119 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004415/0.3053, allocations: 3.316 MB / 1.123 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.3055, allocations: 4 kB / 1.123 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.3057, allocations: 47.64 kB / 1.123 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.3062, allocations: 139.2 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.3063, allocations: 47.94 kB / 1.123 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.3066, allocations: 187.2 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3067, allocations: 29.72 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.3069, allocations: 99.56 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3071, allocations: 75.61 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.3071, allocations: 8 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.3072, allocations: 35.92 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.3073, allocations: 39.84 kB / 1.123 GB, free: 12.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.869e-05/0.3074, allocations: 67.59 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3076, allocations: 183.1 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3077, allocations: 0 / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3077, allocations: 0 / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3077, allocations: 0 / 1.123 GB, free: 12.4 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.0009459/0.3086, allocations: 461 kB / 1.124 GB, free: 11.92 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3086, allocations: 8.031 kB / 1.124 GB, free: 11.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/0.309, allocations: 56.75 kB / 1.124 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.3095, allocations: 201.5 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3095, allocations: 384 / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3095, allocations: 12.36 kB / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.3099, allocations: 149.6 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3099, allocations: 0 / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3099, allocations: 3.938 kB / 1.124 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.3099, allocations: 11.98 kB / 1.124 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.3104, allocations: 143.9 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/0.3111, allocations: 384.2 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.3115, allocations: 154.5 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.3118, allocations: 104.8 kB / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3118, allocations: 0 / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3119, allocations: 34.56 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.3119, allocations: 0 / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0008859/0.3128, allocations: 297.3 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3128, allocations: 51.66 kB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.313, allocations: 221.9 kB / 1.126 GB, free: 10.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3131, allocations: 29.7 kB / 1.126 GB, free: 9.984 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.3131, allocations: 120.1 kB / 1.126 GB, free: 9.863 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.3132, allocations: 43.64 kB / 1.126 GB, free: 9.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.3133, allocations: 29.7 kB / 1.126 GB, free: 9.785 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3134, allocations: 334.8 kB / 1.126 GB, free: 9.449 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.3137, allocations: 79.94 kB / 1.126 GB, free: 9.371 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.3139, allocations: 75.94 kB / 1.126 GB, free: 9.297 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.3144, allocations: 162.5 kB / 1.126 GB, free: 9.137 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3144, allocations: 7.938 kB / 1.126 GB, free: 9.129 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005864/0.315, allocations: 221.4 kB / 1.127 GB, free: 8.906 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.315, allocations: 7.938 kB / 1.127 GB, free: 8.898 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.315, allocations: 0 / 1.127 GB, free: 8.898 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.315, allocations: 0 / 1.127 GB, free: 8.898 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.3153, allocations: 35.97 kB / 1.127 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3153, allocations: 3.984 kB / 1.127 GB, free: 8.859 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.3155, allocations: 23.88 kB / 1.127 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3155, allocations: 4 kB / 1.127 GB, free: 8.832 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.000158/0.3157, allocations: 137.7 kB / 1.127 GB, free: 8.688 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.3157, allocations: 23.84 kB / 1.127 GB, free: 8.664 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.04e-05/0.3158, allocations: 29.77 kB / 1.127 GB, free: 8.637 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3158, allocations: 8 kB / 1.127 GB, free: 8.629 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3158, allocations: 4 kB / 1.127 GB, free: 8.625 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3158, allocations: 0 / 1.127 GB, free: 8.625 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.3161, allocations: 189.2 kB / 1.127 GB, free: 8.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3161, allocations: 3.938 kB / 1.127 GB, free: 8.406 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.3163, allocations: 31.97 kB / 1.127 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3164, allocations: 4 kB / 1.127 GB, free: 8.371 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3164, allocations: 3.984 kB / 1.127 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3164, allocations: 0 / 1.127 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3164, allocations: 0 / 1.127 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.317, allocations: 329.2 kB / 1.127 GB, free: 8.031 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.3171, allocations: 35.77 kB / 1.128 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.3172, allocations: 8 kB / 1.128 GB, free: 7.988 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.3174, allocations: 11.98 kB / 1.128 GB, free: 7.977 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.3174, allocations: 7.984 kB / 1.128 GB, free: 7.969 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3174, allocations: 7.984 kB / 1.128 GB, free: 7.961 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000149/0.3176, allocations: 165.2 kB / 1.128 GB, free: 7.801 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3176, allocations: 0 / 1.128 GB, free: 7.801 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002846/0.3179, allocations: 36 kB / 1.128 GB, free: 7.766 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.000161/0.318, allocations: 107.2 kB / 1.128 GB, free: 7.652 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000559/0.3186, allocations: 175.8 kB / 1.128 GB, free: 7.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3186, allocations: 0 / 1.128 GB, free: 7.48 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.3189, allocations: 95.86 kB / 1.128 GB, free: 7.387 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3192, allocations: 33.78 kB / 1.128 GB, free: 7.359 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008483/0.3201, allocations: 440.9 kB / 1.129 GB, free: 6.902 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.3202, allocations: 124 kB / 1.129 GB, free: 6.762 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.3203, allocations: 53.09 kB / 1.129 GB, free: 6.711 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.3204, allocations: 20.5 kB / 1.129 GB, free: 6.691 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.3204, allocations: 0 / 1.129 GB, free: 6.691 MB / 1.076 GB Notification: Performance of Templates: time 0.005513/0.3259, allocations: 1.873 MB / 1.131 GB, free: 4.859 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.305474797962233]