Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001369/0.001369, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001549/0.001549, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.732/2.732, allocations: 476.8 MB / 0.7707 GB, free: 4.215 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_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.002074/0.002074, allocations: 76.42 kB / 1.117 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3213, allocations: 169.9 MB / 1.283 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002806/0.3241, allocations: 1.621 MB / 1.285 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3256, allocations: 0.9593 MB / 1.286 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.3257, allocations: 3.938 kB / 1.286 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.3259, allocations: 71.64 kB / 1.286 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.3264, allocations: 147.3 kB / 1.286 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.531e-05/0.3264, allocations: 7.984 kB / 1.286 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004299/0.3269, allocations: 366.3 kB / 1.286 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.974e-05/0.3269, allocations: 17.2 kB / 1.286 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.3272, allocations: 155.4 kB / 1.287 GB, free: 440 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3274, allocations: 131.3 kB / 1.287 GB, free: 308 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.3274, allocations: 19.98 kB / 1.287 GB, free: 288 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-05/0.3275, allocations: 16 kB / 1.287 GB, free: 272 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.3275, allocations: 51.7 kB / 1.287 GB, free: 220 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.3277, allocations: 131.2 kB / 1.287 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.328, allocations: 290.7 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.328, allocations: 4 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.328, allocations: 0 / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.328, allocations: 0 / 1.287 GB, free: 15.8 MB / 0.9981 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.001191/0.3292, allocations: 0.5665 MB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3292, allocations: 8.031 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.3293, allocations: 34.75 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.3293, allocations: 28.75 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.3299, allocations: 340.7 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.3299, allocations: 8.25 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.3299, allocations: 384 / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.33, allocations: 109.2 kB / 1.288 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.33, allocations: 0 / 1.288 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3301, allocations: 0 / 1.288 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3301, allocations: 4 kB / 1.288 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3302, allocations: 63.88 kB / 1.288 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.3306, allocations: 323.2 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.3307, allocations: 114.3 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.3308, allocations: 59.45 kB / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.3308, allocations: 0 / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3308, allocations: 38.5 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.3308, allocations: 4 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003483/0.3312, allocations: 189.2 kB / 1.289 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.3313, allocations: 128.5 kB / 1.289 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.3319, allocations: 0.5132 MB / 1.29 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3319, allocations: 25.7 kB / 1.29 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.332, allocations: 164.1 kB / 1.29 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.332, allocations: 20.33 kB / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3321, allocations: 25.7 kB / 1.29 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3322, allocations: 346.8 kB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.3323, allocations: 35.95 kB / 1.29 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.3324, allocations: 55.41 kB / 1.29 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.3325, allocations: 111.3 kB / 1.29 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3325, allocations: 0 / 1.29 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002129/0.3327, allocations: 145.3 kB / 1.291 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3327, allocations: 10.5 kB / 1.291 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3328, allocations: 0 / 1.291 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3328, allocations: 0 / 1.291 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3329, allocations: 11.98 kB / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3329, allocations: 8.125 kB / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.333, allocations: 15.91 kB / 1.291 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.333, allocations: 8 kB / 1.291 GB, free: 12.04 MB / 0.9981 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.0001578/0.3332, allocations: 173.7 kB / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.3333, allocations: 43.69 kB / 1.291 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.3336, allocations: 187.9 kB / 1.291 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3336, allocations: 0 / 1.291 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3336, allocations: 4 kB / 1.291 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3336, allocations: 0 / 1.291 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.3339, allocations: 276.5 kB / 1.291 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3339, allocations: 0 / 1.291 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.334, allocations: 15.94 kB / 1.291 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.334, allocations: 11.92 kB / 1.291 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.334, allocations: 0 / 1.291 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.334, allocations: 4 kB / 1.291 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.334, allocations: 0 / 1.291 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.3342, allocations: 199.4 kB / 1.291 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.3344, allocations: 71.61 kB / 1.292 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.3344, allocations: 7.984 kB / 1.292 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3346, allocations: 7.984 kB / 1.292 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.3346, allocations: 8 kB / 1.292 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3346, allocations: 8 kB / 1.292 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004565/0.3351, allocations: 395 kB / 1.292 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3351, allocations: 0 / 1.292 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002463/0.3353, allocations: 40 kB / 1.292 GB, free: 10.54 MB / 0.9981 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.0005296/0.3358, allocations: 0.7279 MB / 1.293 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.336, allocations: 91.8 kB / 1.293 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.336, allocations: 0 / 1.293 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.3361, allocations: 44.34 kB / 1.293 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3365, allocations: 69.61 kB / 1.293 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.3403, allocations: 3.171 MB / 1.296 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.3407, allocations: 0.8221 MB / 1.297 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.3409, allocations: 54.25 kB / 1.297 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.341, allocations: 79.41 kB / 1.297 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.341, allocations: 0 / 1.297 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.3759, allocations: 6.796 MB / 1.304 GB, free: 14.69 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.07, allocations: 5.625 kB / 1.304 GB, free: 14.69 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.399340363999727]