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.001953/0.001953, 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.002592/0.002592, allocations: 215.5 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.965 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.255/3.255, allocations: 0.49 GB / 0.7951 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] 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.002031/0.002031, allocations: 64.11 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3374, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.00325/0.3406, allocations: 1.611 MB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.3424, allocations: 0.9657 MB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3425, allocations: 3.938 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.3428, allocations: 67.66 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.3433, allocations: 147.3 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.586e-05/0.3434, allocations: 7.922 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005155/0.3439, allocations: 370.3 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.401e-05/0.344, allocations: 17.22 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.3443, allocations: 159.3 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.3446, allocations: 139.3 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.3446, allocations: 16 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.943e-05/0.3447, allocations: 16 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.3448, allocations: 47.77 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.3449, allocations: 135.2 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.3453, allocations: 290.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3453, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3453, allocations: 4 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.3453, allocations: 0 / 1.33 GB, free: 13.95 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.001255/0.3466, allocations: 0.564 MB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3466, allocations: 8.031 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.3466, allocations: 34.75 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.3467, allocations: 32.73 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.3473, allocations: 336.7 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3473, allocations: 4.375 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3473, allocations: 384 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3475, allocations: 109.1 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3475, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3475, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3475, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3476, allocations: 75.86 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.3481, allocations: 323.2 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.3482, allocations: 102.4 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.3483, allocations: 67.39 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3483, allocations: 3.984 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3484, allocations: 38.5 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3484, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003776/0.3487, allocations: 189.2 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.432e-05/0.3488, allocations: 136.5 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006751/0.3495, allocations: 0.5132 MB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3495, allocations: 25.7 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3497, allocations: 164.1 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.3497, allocations: 15.89 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.3498, allocations: 22.22 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3499, allocations: 346.8 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.35, allocations: 31.97 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.35, allocations: 67.33 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3502, allocations: 103.3 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3502, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002264/0.3504, allocations: 149.3 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3504, allocations: 8 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3504, allocations: 3.938 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3505, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3506, allocations: 11.98 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.3506, allocations: 4.125 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.3507, allocations: 11.98 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3507, allocations: 4 kB / 1.333 GB, free: 10.21 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.0001726/0.3509, allocations: 185.6 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.351, allocations: 39.7 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.3513, allocations: 183.8 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3513, allocations: 4.125 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3513, allocations: 4 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3513, allocations: 3.984 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.3516, allocations: 276.5 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3516, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-05/0.3517, allocations: 19.92 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3517, allocations: 4 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3517, allocations: 0 / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3517, allocations: 4 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3517, allocations: 0 / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.352, allocations: 203.3 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3521, allocations: 67.61 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.3522, allocations: 8 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3523, allocations: 7.984 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.3524, allocations: 11.98 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.3524, allocations: 7.938 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004887/0.3529, allocations: 395 kB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3529, allocations: 0 / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002546/0.3531, allocations: 36 kB / 1.335 GB, free: 8.691 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.0005677/0.3537, allocations: 0.7357 MB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.3539, allocations: 83.86 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3539, allocations: 0 / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.354, allocations: 43.91 kB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3543, allocations: 66.06 kB / 1.335 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.3583, allocations: 3.184 MB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.3588, allocations: 0.8143 MB / 1.339 GB, free: 3.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000139/0.3589, allocations: 54.25 kB / 1.339 GB, free: 3.535 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.3591, allocations: 83.39 kB / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.3591, allocations: 0 / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.3935, allocations: 6.797 MB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.65, allocations: 5.453 kB / 1.346 GB, free: 12.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 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.mat","/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.35933893895708]