Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00149/0.00149, allocations: 103.6 kB / 18.95 MB, free: 2.652 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.001693/0.001693, allocations: 220.6 kB / 22.25 MB, free: 5.262 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.789 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.946/2.946, allocations: 0.49 GB / 0.7951 GB, free: 35.37 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.EN12975SolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_12_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.00189/0.00189, allocations: 70.89 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3002, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003408/0.3036, allocations: 2.008 MB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005457/0.309, allocations: 3.908 MB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.3092, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008291/0.31, allocations: 183.1 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.3102, allocations: 59.44 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.3111, allocations: 318.7 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.3117, allocations: 398.7 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3118, allocations: 36.56 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.312, allocations: 115.6 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.3122, allocations: 131.4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.3123, allocations: 19.94 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005501/0.3128, allocations: 319.6 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3129, allocations: 115.6 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.3131, allocations: 115.3 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006371/0.3137, allocations: 0.5292 MB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3137, allocations: 0 / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3137, allocations: 0 / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3137, allocations: 0 / 1.334 GB, free: 9.207 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00126/0.315, allocations: 0.7002 MB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.315, allocations: 8.031 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.315, allocations: 42.75 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004224/0.3155, allocations: 88.59 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.316, allocations: 300.6 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3161, allocations: 4.375 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.3161, allocations: 12.38 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.3166, allocations: 198.6 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3166, allocations: 0 / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3166, allocations: 8 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3166, allocations: 0 / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/0.3173, allocations: 247.8 kB / 1.335 GB, free: 7.539 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009386/0.3182, allocations: 0.5307 MB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.3186, allocations: 158.5 kB / 1.336 GB, free: 6.801 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.319, allocations: 132.8 kB / 1.336 GB, free: 6.668 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.319, allocations: 19.98 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.319, allocations: 38.5 kB / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.3191, allocations: 0 / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001191/0.3202, allocations: 441.5 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.3203, allocations: 59.34 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.3207, allocations: 417.9 kB / 1.337 GB, free: 5.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.3207, allocations: 29.7 kB / 1.337 GB, free: 5.645 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3209, allocations: 187.9 kB / 1.337 GB, free: 5.457 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.3209, allocations: 39.69 kB / 1.337 GB, free: 5.418 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.321, allocations: 49.62 kB / 1.337 GB, free: 5.363 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3211, allocations: 342.8 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.3216, allocations: 209.6 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.322, allocations: 218.3 kB / 1.338 GB, free: 4.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.3227, allocations: 361.3 kB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3227, allocations: 4 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009944/0.3237, allocations: 0.5083 MB / 1.339 GB, free: 3.699 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.3238, allocations: 45.69 kB / 1.339 GB, free: 3.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3238, allocations: 7.984 kB / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3238, allocations: 0 / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.3241, allocations: 39.95 kB / 1.339 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.3241, allocations: 7.938 kB / 1.339 GB, free: 3.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.3243, allocations: 43.78 kB / 1.339 GB, free: 3.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.3244, allocations: 4 kB / 1.339 GB, free: 3.547 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 (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.0001633/0.3245, allocations: 158.3 kB / 1.339 GB, free: 3.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.3246, allocations: 39.72 kB / 1.339 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009334/0.3255, allocations: 340.7 kB / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3255, allocations: 4 kB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3255, allocations: 3.938 kB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3255, allocations: 0 / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.3259, allocations: 292.5 kB / 1.34 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3259, allocations: 0 / 1.34 GB, free: 2.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.3262, allocations: 47.88 kB / 1.34 GB, free: 2.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3262, allocations: 4 kB / 1.34 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.3262, allocations: 7.984 kB / 1.34 GB, free: 2.609 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3262, allocations: 4 kB / 1.34 GB, free: 2.605 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3262, allocations: 3.938 kB / 1.34 GB, free: 2.602 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.327, allocations: 411.1 kB / 1.34 GB, free: 2.184 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.3272, allocations: 67.61 kB / 1.34 GB, free: 2.117 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.3272, allocations: 0 / 1.34 GB, free: 2.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3275, allocations: 27.97 kB / 1.341 GB, free: 2.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.3276, allocations: 23.84 kB / 1.341 GB, free: 2.066 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3276, allocations: 7.938 kB / 1.341 GB, free: 2.059 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003055/0.3279, allocations: 299.1 kB / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3279, allocations: 0 / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004478/0.3283, allocations: 115.8 kB / 1.341 GB, free: 1.656 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 (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.001359/0.3297, allocations: 1.014 MB / 1.342 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009669/0.3306, allocations: 468.8 kB / 1.342 GB, free: 144 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3306, allocations: 0 / 1.342 GB, free: 144 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.331, allocations: 143.8 kB / 1.343 GB, free: 0 / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.3315, allocations: 65.81 kB / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.3374, allocations: 4.41 MB / 1.347 GB, free: 11.42 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.3376, allocations: 183.2 kB / 1.347 GB, free: 11.22 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.3378, allocations: 49.91 kB / 1.347 GB, free: 11.17 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.3379, allocations: 107.4 kB / 1.347 GB, free: 11.06 MB / 1.045 GB Notification: Performance of SimCode: time 8.21e-07/0.3379, allocations: 4 kB / 1.347 GB, free: 11.06 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.3757, allocations: 9.404 MB / 1.356 GB, free: 1.867 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.07, allocations: 14.45 kB / 1.356 GB, free: 1.859 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[1] from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.TFlu[2] in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[2] from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.TFlu[3] in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.TFlu[3] from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.QSol_flow[2] in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.QSol_flow[2] from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! Error: Could not read variable solGai.QSol_flow[3] in file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv. Warning: Get data of variable solGai.QSol_flow[3] from file Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.328036418999545]