Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001937/0.001937, allocations: 111 kB / 16.46 MB, free: 6.453 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.002334/0.002334, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.403/1.403, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.155/3.155, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_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.002126/0.002126, allocations: 68.33 kB / 1.172 GB, free: 17.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 180.2 MB / 1.348 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003193/0.3276, allocations: 1.607 MB / 1.349 GB, free: 8.516 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3292, allocations: 0.9585 MB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3293, allocations: 4 kB / 1.35 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.3296, allocations: 55.66 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.3301, allocations: 147.3 kB / 1.35 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.305e-05/0.3302, allocations: 12 kB / 1.35 GB, free: 7.336 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.3306, allocations: 362.2 kB / 1.351 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.097e-05/0.3307, allocations: 32.75 kB / 1.351 GB, free: 6.941 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.331, allocations: 151.4 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.3313, allocations: 139.3 kB / 1.351 GB, free: 6.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.3313, allocations: 16 kB / 1.351 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000754/0.3321, allocations: 0.5475 MB / 1.352 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.3321, allocations: 47.77 kB / 1.352 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3323, allocations: 139.2 kB / 1.352 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.3337, allocations: 0.8461 MB / 1.353 GB, free: 5.047 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3337, allocations: 0 / 1.353 GB, free: 5.047 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3337, allocations: 0 / 1.353 GB, free: 5.047 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.3337, allocations: 0 / 1.353 GB, free: 5.047 MB / 1.045 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.00166/0.3353, allocations: 0.669 MB / 1.353 GB, free: 4.328 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/0.3354, allocations: 11.98 kB / 1.353 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.3355, allocations: 34.73 kB / 1.353 GB, free: 4.273 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.3356, allocations: 32.75 kB / 1.353 GB, free: 4.242 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/0.3361, allocations: 378.6 kB / 1.354 GB, free: 3.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3362, allocations: 4.375 kB / 1.354 GB, free: 3.836 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3362, allocations: 12.31 kB / 1.354 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3364, allocations: 109.1 kB / 1.354 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3364, allocations: 0 / 1.354 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3364, allocations: 0 / 1.354 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3364, allocations: 0 / 1.354 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3365, allocations: 63.88 kB / 1.354 GB, free: 3.637 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.337, allocations: 344.1 kB / 1.354 GB, free: 3.242 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3371, allocations: 106.4 kB / 1.354 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.19e-05/0.3372, allocations: 67.39 kB / 1.354 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.3372, allocations: 0 / 1.354 GB, free: 3.023 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.3373, allocations: 42.5 kB / 1.354 GB, free: 2.973 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.3373, allocations: 0 / 1.354 GB, free: 2.973 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004035/0.3377, allocations: 181.7 kB / 1.355 GB, free: 2.789 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.3378, allocations: 132.6 kB / 1.355 GB, free: 2.629 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.3384, allocations: 0.5092 MB / 1.355 GB, free: 2.109 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.3384, allocations: 25.7 kB / 1.355 GB, free: 2.078 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.3386, allocations: 164.4 kB / 1.355 GB, free: 1.91 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.3386, allocations: 15.89 kB / 1.355 GB, free: 1.895 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.3387, allocations: 45.7 kB / 1.356 GB, free: 1.844 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3389, allocations: 342.8 kB / 1.356 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.339, allocations: 103.9 kB / 1.356 GB, free: 1.398 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.3392, allocations: 162.7 kB / 1.356 GB, free: 1.215 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.3396, allocations: 239.2 kB / 1.356 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3396, allocations: 0 / 1.356 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004465/0.34, allocations: 297.2 kB / 1.357 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.34, allocations: 12 kB / 1.357 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.3401, allocations: 240 / 1.357 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3401, allocations: 0 / 1.357 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3402, allocations: 19.98 kB / 1.357 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3402, allocations: 7.922 kB / 1.357 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.3404, allocations: 19.88 kB / 1.357 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.3404, allocations: 7.984 kB / 1.357 GB, free: 0.6055 MB / 1.045 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.0001824/0.3406, allocations: 181.8 kB / 1.357 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.3407, allocations: 31.75 kB / 1.357 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.341, allocations: 191.6 kB / 1.357 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.341, allocations: 0 / 1.357 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.341, allocations: 0 / 1.357 GB, free: 196 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.341, allocations: 4 kB / 1.357 GB, free: 192 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.3414, allocations: 293.4 kB / 1.357 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3414, allocations: 4 kB / 1.357 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.504e-05/0.3415, allocations: 19.92 kB / 1.357 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3415, allocations: 4.125 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3415, allocations: 4 kB / 1.357 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3415, allocations: 7.875 kB / 1.357 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3415, allocations: 0 / 1.357 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.3418, allocations: 191.5 kB / 1.358 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.3419, allocations: 136.8 kB / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.342, allocations: 7.938 kB / 1.358 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.3421, allocations: 11.98 kB / 1.358 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.3421, allocations: 7.984 kB / 1.358 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.3421, allocations: 7.938 kB / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000448/0.3426, allocations: 379 kB / 1.358 GB, free: 15.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3426, allocations: 0 / 1.358 GB, free: 15.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005305/0.3431, allocations: 99.94 kB / 1.358 GB, free: 14.95 MB / 1.061 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.005127/0.3482, allocations: 3.45 MB / 1.362 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.3486, allocations: 167.8 kB / 1.362 GB, free: 11.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3486, allocations: 0 / 1.362 GB, free: 11.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.3487, allocations: 43.91 kB / 1.362 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3492, allocations: 57.72 kB / 1.362 GB, free: 11.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.3539, allocations: 3.474 MB / 1.365 GB, free: 7.594 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.3543, allocations: 0.8143 MB / 1.366 GB, free: 6.754 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.3545, allocations: 54.28 kB / 1.366 GB, free: 6.703 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.3546, allocations: 79.41 kB / 1.366 GB, free: 6.625 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/0.3546, allocations: 0 / 1.366 GB, free: 6.625 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.3925, allocations: 10.82 MB / 1.377 GB, free: 11.97 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.618/9.011, allocations: 9.594 kB / 1.377 GB, free: 11.96 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.487602860899642]