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.00132/0.00132, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00149/0.00149, allocations: 216.5 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 7.793 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.966/2.966, allocations: 0.49 GB / 0.7951 GB, free: 35.41 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.001943/0.001943, allocations: 64.88 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2859, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002716/0.2886, allocations: 1.578 MB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.29, allocations: 0.8605 MB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.2901, allocations: 4 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.2904, allocations: 55.69 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.2908, allocations: 151.3 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.155e-05/0.2908, allocations: 4 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004224/0.2912, allocations: 378.2 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.2913, allocations: 13.22 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.2916, allocations: 159.3 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.2918, allocations: 131.4 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.2918, allocations: 20 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-05/0.2918, allocations: 12 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.2919, allocations: 55.7 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.292, allocations: 103.4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.2923, allocations: 298.6 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2923, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2923, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.2923, allocations: 0 / 1.33 GB, free: 13.7 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.001129/0.2935, allocations: 0.5665 MB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2935, allocations: 12.03 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.2936, allocations: 30.75 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.2936, allocations: 32.69 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005284/0.2941, allocations: 340.7 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.2941, allocations: 384 / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2942, allocations: 4.375 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.2943, allocations: 109.2 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2943, allocations: 3.984 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2943, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2943, allocations: 3.938 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.89e-05/0.2944, allocations: 59.94 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.2948, allocations: 299.2 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.2949, allocations: 102.4 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.295, allocations: 59.45 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.295, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.295, allocations: 42.44 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.295, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003276/0.2954, allocations: 189.3 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.2954, allocations: 136.5 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005871/0.296, allocations: 0.5093 MB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.296, allocations: 25.7 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2962, allocations: 168.1 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.2962, allocations: 11.91 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.2962, allocations: 22.16 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2964, allocations: 346.8 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.2964, allocations: 35.97 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.2965, allocations: 59.39 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2966, allocations: 103.3 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2967, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002093/0.2969, allocations: 149.4 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2969, allocations: 8.031 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2969, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2969, allocations: 4 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.297, allocations: 15.92 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.297, allocations: 0 / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.2972, allocations: 7.984 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.2972, allocations: 7.938 kB / 1.333 GB, free: 9.98 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.0001535/0.2973, allocations: 181.7 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.2974, allocations: 39.7 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.2977, allocations: 195.6 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2977, allocations: 4 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2977, allocations: 0 / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2977, allocations: 0 / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.298, allocations: 244.6 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.298, allocations: 0 / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.2981, allocations: 19.92 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2981, allocations: 0 / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2981, allocations: 4 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2981, allocations: 4.125 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2981, allocations: 3.938 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.2983, allocations: 199.4 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.2985, allocations: 71.7 kB / 1.334 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.2985, allocations: 4 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.2987, allocations: 11.97 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.2987, allocations: 7.984 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.2987, allocations: 4 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004365/0.2992, allocations: 395 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.2992, allocations: 0 / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002447/0.2994, allocations: 43.94 kB / 1.334 GB, free: 8.492 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.0005057/0.2999, allocations: 0.7357 MB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.3001, allocations: 83.86 kB / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3001, allocations: 0 / 1.335 GB, free: 7.637 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.3002, allocations: 47.89 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.3005, allocations: 66.06 kB / 1.335 GB, free: 7.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.3041, allocations: 3.184 MB / 1.338 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.3043, allocations: 211.4 kB / 1.338 GB, free: 3.996 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.3044, allocations: 46.27 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3046, allocations: 79.41 kB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.3046, allocations: 4 kB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.3385, allocations: 7.596 MB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.54, allocations: 12 kB / 1.346 GB, free: 12.47 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: 17.652481397002703]