Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001181/0.001181, allocations: 113 kB / 18.94 MB, free: 2.934 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.001317/0.001317, allocations: 207.8 kB / 22.25 MB, free: 5.082 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.304/1.304, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.877/2.877, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001837/0.001837, allocations: 67.62 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2785, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003068/0.2816, allocations: 2.114 MB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004896/0.2865, allocations: 4.251 MB / 1.359 GB, free: 2.066 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.2866, allocations: 3.938 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007212/0.2873, allocations: 195.1 kB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.2874, allocations: 67.42 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.2881, allocations: 309.5 kB / 1.36 GB, free: 1.504 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000583/0.2887, allocations: 386.8 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2888, allocations: 40.56 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.289, allocations: 119.5 kB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.2891, allocations: 135.4 kB / 1.36 GB, free: 0.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.2892, allocations: 19.94 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.2897, allocations: 343.5 kB / 1.361 GB, free: 488 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2898, allocations: 95.7 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.2899, allocations: 155 kB / 1.361 GB, free: 236 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006062/0.2905, allocations: 0.5292 MB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2905, allocations: 0 / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2905, allocations: 0 / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.2905, allocations: 0 / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001245/0.2918, allocations: 0.7002 MB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2918, allocations: 15.97 kB / 1.362 GB, free: 14.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.2919, allocations: 34.75 kB / 1.362 GB, free: 14.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009845/0.2929, allocations: 164.5 kB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/0.2934, allocations: 296.7 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2935, allocations: 8.375 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.2935, allocations: 8.312 kB / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.294, allocations: 219.3 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.294, allocations: 4 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.294, allocations: 4 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.294, allocations: 0 / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006721/0.2947, allocations: 255.8 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.2957, allocations: 0.5775 MB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.2961, allocations: 174.5 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.2965, allocations: 136.8 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.2965, allocations: 15.98 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.2965, allocations: 38.56 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.2965, allocations: 4 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.00118/0.2977, allocations: 469.7 kB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2977, allocations: 55.34 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.2981, allocations: 425.8 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.2982, allocations: 25.7 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.2983, allocations: 180 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.2983, allocations: 47.67 kB / 1.365 GB, free: 11.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.2984, allocations: 41.69 kB / 1.365 GB, free: 11.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2986, allocations: 350.8 kB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.299, allocations: 171.9 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.2993, allocations: 185.4 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/0.3001, allocations: 381 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3001, allocations: 0 / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009127/0.301, allocations: 494.8 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.3011, allocations: 41.69 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3011, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3011, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.3014, allocations: 43.94 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3014, allocations: 7.938 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.3017, allocations: 43.84 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.3017, allocations: 4 kB / 1.367 GB, free: 9.953 MB / 1.061 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001597/0.3018, allocations: 169.6 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.3019, allocations: 39.75 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008984/0.3028, allocations: 372.6 kB / 1.367 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3028, allocations: 0 / 1.367 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3028, allocations: 3.938 kB / 1.367 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3028, allocations: 0 / 1.367 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.3032, allocations: 324.5 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3032, allocations: 0 / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.3035, allocations: 51.88 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3035, allocations: 4 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.3035, allocations: 3.984 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3035, allocations: 0 / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3035, allocations: 3.938 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008194/0.3043, allocations: 439 kB / 1.368 GB, free: 8.496 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3044, allocations: 59.66 kB / 1.368 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.3045, allocations: 0 / 1.368 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.3048, allocations: 31.97 kB / 1.368 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.3048, allocations: 19.91 kB / 1.368 GB, free: 8.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3048, allocations: 0 / 1.368 GB, free: 8.387 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002846/0.3051, allocations: 299.1 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3051, allocations: 0 / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003733/0.3055, allocations: 115.8 kB / 1.369 GB, free: 7.98 MB / 1.061 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 (11): * Single equations (assignments): 11 * 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.001284/0.3068, allocations: 1.048 MB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009318/0.3077, allocations: 479 kB / 1.37 GB, free: 6.426 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3077, allocations: 0 / 1.37 GB, free: 6.426 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.3081, allocations: 147.8 kB / 1.37 GB, free: 6.281 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.3085, allocations: 61.56 kB / 1.37 GB, free: 6.223 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/0.314, allocations: 4.283 MB / 1.374 GB, free: 1.855 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.3144, allocations: 0.7905 MB / 1.375 GB, free: 1.039 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000209/0.3146, allocations: 57.91 kB / 1.375 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.3148, allocations: 111.3 kB / 1.375 GB, free: 0.875 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.3148, allocations: 4 kB / 1.375 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.3492, allocations: 8.745 MB / 1.384 GB, free: 8.305 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.56, allocations: 13.23 kB / 1.384 GB, free: 8.297 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable solGai.TFlu[1] in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[1] from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.TFlu[2] in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[2] from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.TFlu[3] in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[3] from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.QSol_flow[2] in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.QSol_flow[2] from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.QSol_flow[3] in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.QSol_flow[3] from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.46681905999958]