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.001747/0.001747, 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.002141/0.002141, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 7.797 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 2.966/2.966, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [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.001997/0.001997, allocations: 67.64 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2765, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003485/0.28, allocations: 1.858 MB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005127/0.2851, allocations: 3.452 MB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.2852, allocations: 7.938 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009104/0.2861, allocations: 175.2 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.2864, allocations: 83.45 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.2866, allocations: 47.94 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.2872, allocations: 294.9 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2873, allocations: 21.72 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.2875, allocations: 79.69 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.2876, allocations: 75.61 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.2876, allocations: 8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.2878, allocations: 31.94 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.2878, allocations: 59.8 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.585e-05/0.2879, allocations: 67.55 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.2882, allocations: 211 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2882, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2882, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.2882, allocations: 3.938 kB / 1.331 GB, free: 11.9 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.0009281/0.2892, allocations: 484.7 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2892, allocations: 12.03 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.2893, allocations: 34.75 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.2896, allocations: 60.75 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.2901, allocations: 198.7 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2901, allocations: 4.375 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.2901, allocations: 8.359 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.2905, allocations: 153.4 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2905, allocations: 3.984 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2905, allocations: 4 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.2905, allocations: 8 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.291, allocations: 141.4 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007695/0.2917, allocations: 415.7 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.2922, allocations: 170.1 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.2924, allocations: 92.78 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2924, allocations: 8 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.2925, allocations: 34.56 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.2925, allocations: 0 / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008625/0.2933, allocations: 301.5 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.2934, allocations: 59.41 kB / 1.333 GB, free: 9.605 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.2936, allocations: 256.2 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.2937, allocations: 25.7 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2938, allocations: 132.1 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.2938, allocations: 43.64 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.2939, allocations: 29.7 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.294, allocations: 338.8 kB / 1.334 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.2943, allocations: 71.94 kB / 1.334 GB, free: 8.695 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.2945, allocations: 79.92 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/0.2949, allocations: 160.8 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2949, allocations: 0 / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005403/0.2955, allocations: 232.1 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2955, allocations: 8 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2955, allocations: 0 / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2955, allocations: 0 / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.2958, allocations: 35.95 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2958, allocations: 0 / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.2959, allocations: 19.92 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.2959, allocations: 15.94 kB / 1.335 GB, free: 8.148 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.0001383/0.2961, allocations: 138.3 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.2961, allocations: 23.8 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.162e-05/0.2962, allocations: 37.73 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2962, allocations: 7.938 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2962, allocations: 0 / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2962, allocations: 0 / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.2965, allocations: 232.5 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2965, allocations: 4 kB / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.2967, allocations: 31.97 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2967, allocations: 0 / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.2967, allocations: 7.984 kB / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2967, allocations: 0 / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2967, allocations: 0 / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.2973, allocations: 327.2 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.824e-05/0.2974, allocations: 47.72 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.2975, allocations: 0 / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.2977, allocations: 15.98 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.2977, allocations: 7.984 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2977, allocations: 7.984 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001855/0.2979, allocations: 191 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.2979, allocations: 0 / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000275/0.2982, allocations: 40 kB / 1.336 GB, free: 6.98 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.0009824/0.2992, allocations: 0.8567 MB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005369/0.2997, allocations: 173.1 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2997, allocations: 0 / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.2999, allocations: 91.86 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3004, allocations: 63.17 kB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.3038, allocations: 2.432 MB / 1.339 GB, free: 3.258 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.304, allocations: 140 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.3041, allocations: 53.36 kB / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3043, allocations: 63.52 kB / 1.34 GB, free: 2.988 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3043, allocations: 7.938 kB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.3385, allocations: 5.715 MB / 1.345 GB, free: 13.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.15, allocations: 3.281 kB / 1.345 GB, free: 13.48 MB / 1.045 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/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] "Error: Could not read variable T1.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.329986030235887]