Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.001276/0.001276, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001467/0.001467, allocations: 216.9 kB / 22.26 MB, free: 5.113 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 8.02 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.766/2.766, allocations: 476.8 MB / 0.7707 GB, free: 4.266 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.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.002072/0.002072, allocations: 66.3 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2859, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003471/0.2894, allocations: 1.627 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.2911, allocations: 0.9636 MB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2912, allocations: 0 / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.2915, allocations: 67.64 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005583/0.2921, allocations: 139.3 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.964e-05/0.2921, allocations: 15.97 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004899/0.2926, allocations: 354.3 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.606e-05/0.2927, allocations: 12.94 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.293, allocations: 159.3 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.2933, allocations: 139.3 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.2933, allocations: 20 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008312/0.2942, allocations: 0.5514 MB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2943, allocations: 43.78 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.2945, allocations: 147.1 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.2959, allocations: 0.8493 MB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2959, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2959, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2959, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 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.001719/0.2976, allocations: 0.586 MB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.2977, allocations: 12.03 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.2977, allocations: 30.75 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/0.2978, allocations: 32.7 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.2984, allocations: 328.7 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.2984, allocations: 8.375 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.2984, allocations: 4.375 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2986, allocations: 109.1 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2986, allocations: 0 / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2986, allocations: 0 / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2986, allocations: 0 / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2988, allocations: 67.86 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.2992, allocations: 319.2 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.2994, allocations: 106.4 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.2995, allocations: 67.39 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.2995, allocations: 0 / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.2995, allocations: 42.5 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2995, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004299/0.3, allocations: 189.5 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.3, allocations: 128.5 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.3008, allocations: 0.5092 MB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3008, allocations: 25.7 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.301, allocations: 156.4 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.301, allocations: 15.84 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.675e-05/0.3011, allocations: 57.58 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3013, allocations: 343 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3014, allocations: 99.92 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.3016, allocations: 166.7 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.302, allocations: 239.2 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.302, allocations: 4 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004589/0.3024, allocations: 305.2 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3024, allocations: 4 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3024, allocations: 8 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3025, allocations: 0 / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3026, allocations: 15.98 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3026, allocations: 7.984 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.3028, allocations: 19.88 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3028, allocations: 11.98 kB / 1.292 GB, free: 2.293 MB / 0.9825 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001894/0.303, allocations: 177.7 kB / 1.292 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.3031, allocations: 39.7 kB / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.3034, allocations: 183.6 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.3034, allocations: 4 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3034, allocations: 0 / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3034, allocations: 0 / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.3037, allocations: 260.6 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3037, allocations: 4.125 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.514e-05/0.3038, allocations: 23.86 kB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3038, allocations: 4 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-06/0.3039, allocations: 0 / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3039, allocations: 4 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3039, allocations: 0 / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.3041, allocations: 191.3 kB / 1.293 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.3043, allocations: 71.8 kB / 1.293 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.3043, allocations: 7.984 kB / 1.293 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3045, allocations: 7.984 kB / 1.293 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.3045, allocations: 7.984 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.3045, allocations: 4 kB / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004483/0.305, allocations: 379 kB / 1.293 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.305, allocations: 0 / 1.293 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004937/0.3054, allocations: 107.9 kB / 1.294 GB, free: 0.7656 MB / 0.9825 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.005221/0.3107, allocations: 3.442 MB / 1.297 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.3111, allocations: 167.7 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3111, allocations: 0 / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.35e-05/0.3112, allocations: 48.14 kB / 1.297 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.3117, allocations: 57.62 kB / 1.297 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.3167, allocations: 3.503 MB / 1.301 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.3172, allocations: 0.8143 MB / 1.301 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.3173, allocations: 45.92 kB / 1.301 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3175, allocations: 79.78 kB / 1.302 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.3175, allocations: 0 / 1.302 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04255/0.36, allocations: 10.94 MB / 1.312 GB, free: 13.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.88, allocations: 0.5 kB / 1.312 GB, free: 13.66 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.291656608926132]