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.001305/0.001305, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001493/0.001493, allocations: 224.1 kB / 23.05 MB, free: 5.074 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.612/2.612, allocations: 476.7 MB / 0.7715 GB, free: 4.273 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="cs",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.002022/0.002022, allocations: 64.69 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.286, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003232/0.2892, allocations: 1.619 MB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2909, allocations: 0.9597 MB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.291, allocations: 11.88 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.2913, allocations: 59.67 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.2918, allocations: 151.3 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.094e-05/0.2918, allocations: 4 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.2923, allocations: 358.4 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.881e-05/0.2924, allocations: 12.92 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.2927, allocations: 159.3 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.2929, allocations: 135.3 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.293, allocations: 20 kB / 1.288 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.2938, allocations: 0.5515 MB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.2939, allocations: 55.64 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.294, allocations: 135.2 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.2955, allocations: 0.8532 MB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2955, allocations: 3.938 kB / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2955, allocations: 0 / 1.289 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.2955, allocations: 0 / 1.289 GB, free: 6.684 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.001618/0.2972, allocations: 0.5912 MB / 1.29 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.2972, allocations: 12.03 kB / 1.29 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.46e-05/0.2972, allocations: 192 / 1.29 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.2973, allocations: 30.75 kB / 1.29 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.848e-05/0.2974, allocations: 36.73 kB / 1.29 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.2979, allocations: 320.8 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.2979, allocations: 4.375 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.2979, allocations: 8.375 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.2981, allocations: 100.9 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2981, allocations: 0 / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.2982, allocations: 0 / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2982, allocations: 7.984 kB / 1.29 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.2983, allocations: 71.88 kB / 1.29 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004342/0.2987, allocations: 307.2 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2989, allocations: 118.5 kB / 1.291 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.299, allocations: 55.41 kB / 1.291 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.299, allocations: 11.91 kB / 1.291 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.299, allocations: 34.5 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.299, allocations: 4 kB / 1.291 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000416/0.2994, allocations: 185.3 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.2995, allocations: 132.5 kB / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.3002, allocations: 0.5053 MB / 1.292 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.3003, allocations: 29.7 kB / 1.292 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.3004, allocations: 156.4 kB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3004, allocations: 12.39 kB / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.3005, allocations: 61.58 kB / 1.292 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3007, allocations: 342.8 kB / 1.292 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3008, allocations: 99.91 kB / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.3011, allocations: 158.8 kB / 1.292 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.3014, allocations: 247.2 kB / 1.293 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3014, allocations: 0 / 1.293 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000455/0.3019, allocations: 301.2 kB / 1.293 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.3019, allocations: 8 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3019, allocations: 0 / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3019, allocations: 4 kB / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.3021, allocations: 23.92 kB / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3021, allocations: 0 / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.3022, allocations: 27.81 kB / 1.293 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.3023, allocations: 4 kB / 1.293 GB, free: 2.422 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.0002003/0.3025, allocations: 189.7 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.3025, allocations: 31.75 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.3029, allocations: 175.7 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3029, allocations: 3.938 kB / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3029, allocations: 0 / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3029, allocations: 8.125 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.3032, allocations: 264.6 kB / 1.294 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3032, allocations: 3.938 kB / 1.294 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.3033, allocations: 19.98 kB / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3033, allocations: 0 / 1.294 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3033, allocations: 4 kB / 1.294 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3033, allocations: 0 / 1.294 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3033, allocations: 0 / 1.294 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3036, allocations: 195.3 kB / 1.294 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3037, allocations: 71.55 kB / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.3038, allocations: 4 kB / 1.294 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3039, allocations: 7.984 kB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.3039, allocations: 11.98 kB / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3039, allocations: 0 / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000445/0.3044, allocations: 383 kB / 1.294 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3044, allocations: 0 / 1.294 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005093/0.3049, allocations: 103.9 kB / 1.294 GB, free: 0.8945 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.005176/0.3101, allocations: 3.439 MB / 1.298 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.3105, allocations: 168.1 kB / 1.298 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3105, allocations: 0 / 1.298 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.3106, allocations: 47.91 kB / 1.298 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.311, allocations: 61.78 kB / 1.298 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.3155, allocations: 3.511 MB / 1.301 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.3159, allocations: 0.8143 MB / 1.302 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.3161, allocations: 45.92 kB / 1.302 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.3162, allocations: 75.41 kB / 1.302 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/0.3162, allocations: 0 / 1.302 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.3492, allocations: 10.97 MB / 1.313 GB, free: 13.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.87, allocations: 6.406 kB / 1.313 GB, free: 13.77 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.115741309011355]