Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001717/0.001717, 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.002368/0.002368, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.777 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.18/3.18, allocations: 0.49 GB / 0.7951 GB, free: 35.52 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.CorrectedNFactors,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_12_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.002117/0.002117, allocations: 72.02 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3379, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002857/0.3408, allocations: 1.585 MB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3422, allocations: 0.8645 MB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.3423, allocations: 4 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.3425, allocations: 51.69 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.343, allocations: 147.3 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.38e-05/0.343, allocations: 7.984 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.3434, allocations: 362.2 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.526e-05/0.3435, allocations: 17.2 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.3438, allocations: 155.4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.344, allocations: 139.3 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.344, allocations: 19.94 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000631/0.3447, allocations: 488.8 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.3447, allocations: 47.77 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.3449, allocations: 115.4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.3463, allocations: 0.8418 MB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3463, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3463, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.3463, allocations: 0 / 1.331 GB, free: 12.64 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.001347/0.3477, allocations: 0.5899 MB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3477, allocations: 12.03 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.3478, allocations: 30.75 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.3478, allocations: 32.75 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.3484, allocations: 328.8 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3484, allocations: 4.359 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3484, allocations: 4.375 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3486, allocations: 105.1 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3486, allocations: 3.984 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3486, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3486, allocations: 7.875 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3487, allocations: 71.86 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.349, allocations: 279.3 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3492, allocations: 106.4 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.188e-05/0.3493, allocations: 59.47 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3493, allocations: 15.92 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.3493, allocations: 34.5 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3493, allocations: 0 / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003517/0.3496, allocations: 181.3 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.3497, allocations: 132.5 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.3503, allocations: 0.5053 MB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3504, allocations: 30.2 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.3505, allocations: 164.4 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3505, allocations: 3.953 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.3506, allocations: 53.64 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3507, allocations: 346.8 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.3509, allocations: 99.92 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.3511, allocations: 267.1 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.3514, allocations: 243.3 kB / 1.334 GB, free: 8.664 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3514, allocations: 0 / 1.334 GB, free: 8.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004208/0.3519, allocations: 301.2 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3519, allocations: 8 kB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3519, allocations: 0 / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3519, allocations: 4 kB / 1.334 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.352, allocations: 23.97 kB / 1.334 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.352, allocations: 0 / 1.334 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.3522, allocations: 27.83 kB / 1.334 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3522, allocations: 7.938 kB / 1.334 GB, free: 8.293 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 (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.0001707/0.3524, allocations: 185.6 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.3524, allocations: 31.75 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.3528, allocations: 183.7 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3528, allocations: 4.031 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3528, allocations: 4 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3528, allocations: 0 / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.353, allocations: 236.6 kB / 1.335 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.353, allocations: 4 kB / 1.335 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.3531, allocations: 15.94 kB / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3531, allocations: 0 / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3531, allocations: 8 kB / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3531, allocations: 0 / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3531, allocations: 3.984 kB / 1.335 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3534, allocations: 195.4 kB / 1.335 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.3535, allocations: 71.55 kB / 1.335 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.3536, allocations: 0 / 1.335 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3537, allocations: 11.98 kB / 1.335 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.3537, allocations: 8.219 kB / 1.335 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3538, allocations: 4 kB / 1.335 GB, free: 7.254 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004333/0.3542, allocations: 379 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3542, allocations: 0 / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004558/0.3546, allocations: 99.94 kB / 1.336 GB, free: 6.793 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.005169/0.3598, allocations: 3.458 MB / 1.339 GB, free: 3.293 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003819/0.3602, allocations: 163.8 kB / 1.339 GB, free: 3.133 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3602, allocations: 0 / 1.339 GB, free: 3.133 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.3603, allocations: 47.97 kB / 1.339 GB, free: 3.086 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.3607, allocations: 49.77 kB / 1.339 GB, free: 3.035 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.3651, allocations: 3.511 MB / 1.343 GB, free: 15.4 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.3653, allocations: 215.3 kB / 1.343 GB, free: 15.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.3654, allocations: 45.92 kB / 1.343 GB, free: 15.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.3656, allocations: 75.41 kB / 1.343 GB, free: 15.05 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/0.3656, allocations: 0 / 1.343 GB, free: 15.05 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/0.4062, allocations: 11.76 MB / 1.355 GB, free: 3.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.74, allocations: 3.266 kB / 1.355 GB, free: 3.5 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_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_12_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.367908474989235]