Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.001865/0.001865, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00206/0.00206, allocations: 211.9 kB / 22.24 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.42/1.42, 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 3.147/3.147, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.002052/0.002052, allocations: 62.2 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003112/0.3262, allocations: 1.573 MB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3277, allocations: 0.8684 MB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.3278, allocations: 3.938 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.3281, allocations: 59.67 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.3285, allocations: 143.3 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.502e-05/0.3286, allocations: 8 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.329, allocations: 381.2 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.3291, allocations: 17.2 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.3294, allocations: 151.4 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.3296, allocations: 147.3 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.3296, allocations: 16 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.506e-05/0.3297, allocations: 16 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.3298, allocations: 51.77 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.3299, allocations: 103.4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.3302, allocations: 290.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3302, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3302, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.3302, allocations: 3.984 kB / 1.329 GB, free: 14.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001173/0.3314, allocations: 0.5676 MB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3315, allocations: 12.03 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.3315, allocations: 34.75 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.3316, allocations: 28.75 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.3321, allocations: 336.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3321, allocations: 384 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.3321, allocations: 12.25 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3323, allocations: 105.2 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3323, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3323, allocations: 8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3323, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3324, allocations: 67.86 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.3328, allocations: 291.3 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.333, allocations: 106.3 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.726e-05/0.3331, allocations: 67.39 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3331, allocations: 4 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.3331, allocations: 34.5 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.3331, allocations: 8 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003629/0.3335, allocations: 185.2 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.975e-05/0.3336, allocations: 132.5 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.3342, allocations: 0.5132 MB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3342, allocations: 25.7 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3344, allocations: 164.1 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3344, allocations: 11.91 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.3344, allocations: 21.7 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3346, allocations: 347.2 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.3347, allocations: 39.95 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.396e-05/0.3348, allocations: 55.41 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3349, allocations: 103.3 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3349, allocations: 0 / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002258/0.3351, allocations: 149.3 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3352, allocations: 4.125 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3352, allocations: 4 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3352, allocations: 4 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3353, allocations: 11.98 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3353, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3354, allocations: 7.984 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3355, allocations: 7.984 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.000173/0.3356, allocations: 177.7 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.3357, allocations: 43.69 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.336, allocations: 191.7 kB / 1.332 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.336, allocations: 7.938 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.336, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3361, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.3363, allocations: 248.6 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3363, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.523e-05/0.3364, allocations: 27.92 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3364, allocations: 0 / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3364, allocations: 4 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3365, allocations: 0 / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3365, allocations: 8.125 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.3367, allocations: 191.3 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.3369, allocations: 71.61 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.3369, allocations: 4 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3371, allocations: 11.98 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.3371, allocations: 3.984 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.3371, allocations: 7.938 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004858/0.3376, allocations: 399 kB / 1.333 GB, free: 9.348 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3376, allocations: 0 / 1.333 GB, free: 9.348 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002591/0.3379, allocations: 36 kB / 1.333 GB, free: 9.312 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.0005914/0.3384, allocations: 0.7436 MB / 1.334 GB, free: 8.531 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.3386, allocations: 83.86 kB / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3386, allocations: 0 / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.3387, allocations: 43.91 kB / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3391, allocations: 62.12 kB / 1.334 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.3432, allocations: 3.178 MB / 1.337 GB, free: 5.047 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.3434, allocations: 207.4 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.3435, allocations: 58.23 kB / 1.338 GB, free: 4.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.3437, allocations: 83.34 kB / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/0.3437, allocations: 0 / 1.338 GB, free: 4.684 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.38, allocations: 7.546 MB / 1.345 GB, free: 13.35 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 14.47 kB / 1.345 GB, free: 13.34 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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: 18.443835488986224]