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.001242/0.001242, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001424/0.001424, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.389/1.389, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] 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 3.099/3.099, allocations: 0.505 GB / 0.8066 GB, free: 23.13 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.002233/0.002233, allocations: 69.06 kB / 1.172 GB, free: 17.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3192, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003264/0.3225, allocations: 2.094 MB / 1.35 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005317/0.3278, allocations: 4.204 MB / 1.354 GB, free: 3.695 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.3279, allocations: 4 kB / 1.354 GB, free: 3.691 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008614/0.3288, allocations: 199 kB / 1.354 GB, free: 3.496 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.329, allocations: 67.42 kB / 1.354 GB, free: 3.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007659/0.3297, allocations: 303.2 kB / 1.354 GB, free: 3.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006818/0.3304, allocations: 390.8 kB / 1.355 GB, free: 2.75 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3305, allocations: 32.38 kB / 1.355 GB, free: 2.715 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.3307, allocations: 123.5 kB / 1.355 GB, free: 2.594 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.3309, allocations: 127.5 kB / 1.355 GB, free: 2.469 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.3309, allocations: 20 kB / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.3314, allocations: 315.5 kB / 1.355 GB, free: 2.141 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3315, allocations: 103.6 kB / 1.356 GB, free: 2.039 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.3317, allocations: 151.1 kB / 1.356 GB, free: 1.891 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007027/0.3324, allocations: 0.5292 MB / 1.356 GB, free: 1.359 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3324, allocations: 0 / 1.356 GB, free: 1.359 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3324, allocations: 0 / 1.356 GB, free: 1.359 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3324, allocations: 0 / 1.356 GB, free: 1.359 MB / 1.045 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.001394/0.3338, allocations: 0.7717 MB / 1.357 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3338, allocations: 11.98 kB / 1.357 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.3339, allocations: 46.73 kB / 1.357 GB, free: 476 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.335, allocations: 156.5 kB / 1.357 GB, free: 320 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.3358, allocations: 370.6 kB / 1.357 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3358, allocations: 4.375 kB / 1.358 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.3358, allocations: 8.375 kB / 1.358 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.3364, allocations: 221.3 kB / 1.358 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3365, allocations: 0 / 1.358 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.3365, allocations: 4 kB / 1.358 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3365, allocations: 0 / 1.358 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.3373, allocations: 259.8 kB / 1.358 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.3385, allocations: 0.5979 MB / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.339, allocations: 174.5 kB / 1.359 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.3394, allocations: 148.7 kB / 1.359 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.879e-05/0.3395, allocations: 23.97 kB / 1.359 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.3395, allocations: 34.56 kB / 1.359 GB, free: 14.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.3395, allocations: 0 / 1.359 GB, free: 14.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001434/0.341, allocations: 465.5 kB / 1.359 GB, free: 13.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.341, allocations: 55.34 kB / 1.359 GB, free: 13.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.3415, allocations: 425.8 kB / 1.36 GB, free: 13.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.3415, allocations: 29.7 kB / 1.36 GB, free: 13.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.3417, allocations: 184 kB / 1.36 GB, free: 13.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.3417, allocations: 35.69 kB / 1.36 GB, free: 13.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3418, allocations: 41.69 kB / 1.36 GB, free: 13.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.342, allocations: 346.8 kB / 1.36 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.3425, allocations: 183.8 kB / 1.361 GB, free: 12.6 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.3429, allocations: 175.9 kB / 1.361 GB, free: 12.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008792/0.3438, allocations: 373.3 kB / 1.361 GB, free: 12.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3438, allocations: 0 / 1.361 GB, free: 12.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001126/0.3449, allocations: 494.7 kB / 1.362 GB, free: 11.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.3449, allocations: 45.69 kB / 1.362 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3449, allocations: 0 / 1.362 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.345, allocations: 0 / 1.362 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.3453, allocations: 47.88 kB / 1.362 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3454, allocations: 7.938 kB / 1.362 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3457, allocations: 39.8 kB / 1.362 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.3457, allocations: 7.984 kB / 1.362 GB, free: 11.41 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.000182/0.3459, allocations: 153.8 kB / 1.362 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/0.346, allocations: 35.77 kB / 1.362 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.347, allocations: 376.6 kB / 1.362 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.347, allocations: 0 / 1.362 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.347, allocations: 7.875 kB / 1.362 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.347, allocations: 4 kB / 1.362 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.3475, allocations: 353.4 kB / 1.363 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3475, allocations: 4 kB / 1.363 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.3478, allocations: 43.94 kB / 1.363 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3478, allocations: 4 kB / 1.363 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3478, allocations: 7.984 kB / 1.363 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.3478, allocations: 3.938 kB / 1.363 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/0.3479, allocations: 3.938 kB / 1.363 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009932/0.3488, allocations: 435.8 kB / 1.363 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.349, allocations: 128.8 kB / 1.363 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.3491, allocations: 15.94 kB / 1.363 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.3494, allocations: 19.97 kB / 1.363 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.3494, allocations: 23.91 kB / 1.363 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3494, allocations: 4 kB / 1.363 GB, free: 9.711 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003285/0.3498, allocations: 295.1 kB / 1.364 GB, free: 9.422 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3498, allocations: 0 / 1.364 GB, free: 9.422 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004707/0.3502, allocations: 119.8 kB / 1.364 GB, free: 9.305 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.001554/0.3518, allocations: 1.044 MB / 1.365 GB, free: 8.234 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.3529, allocations: 475.1 kB / 1.365 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3529, allocations: 0 / 1.365 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.3533, allocations: 143.8 kB / 1.365 GB, free: 7.617 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.3538, allocations: 76.61 kB / 1.365 GB, free: 7.551 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006462/0.3602, allocations: 4.287 MB / 1.37 GB, free: 3.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.3606, allocations: 0.7905 MB / 1.37 GB, free: 2.363 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002475/0.3609, allocations: 61.91 kB / 1.37 GB, free: 2.305 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.3611, allocations: 107.4 kB / 1.37 GB, free: 2.199 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/0.3611, allocations: 0 / 1.37 GB, free: 2.199 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/0.3961, allocations: 8.609 MB / 1.379 GB, free: 9.773 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.648/9.044, allocations: 10.55 kB / 1.379 GB, free: 9.766 MB / 1.076 GB " [Timeout remaining time 291] (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: 15.36839063395746]