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.001728/0.001728, allocations: 109.1 kB / 18.94 MB, free: 2.812 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.002388/0.002388, allocations: 215.5 kB / 22.25 MB, free: 5.184 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 8.016 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.131/3.131, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.001963/0.001963, allocations: 68.95 kB / 1.177 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3349, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.004153/0.3391, allocations: 1.605 MB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.3414, allocations: 0.9624 MB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3415, allocations: 7.938 kB / 1.355 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.3419, allocations: 59.66 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006576/0.3425, allocations: 147.3 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.158e-05/0.3426, allocations: 7.984 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.3432, allocations: 362.3 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.651e-05/0.3433, allocations: 13.22 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/0.3437, allocations: 163.3 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.344, allocations: 143.3 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.3441, allocations: 12 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.3451, allocations: 0.5475 MB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3452, allocations: 55.7 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.3455, allocations: 131.2 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.3474, allocations: 0.8458 MB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.3474, allocations: 7.938 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3474, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.3474, allocations: 0 / 1.358 GB, free: 3.398 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.002033/0.3494, allocations: 0.5937 MB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.3495, allocations: 8.031 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.977e-05/0.3495, allocations: 30.75 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.3496, allocations: 32.75 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.3504, allocations: 336.8 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3504, allocations: 4.375 kB / 1.359 GB, free: 2.34 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.3504, allocations: 4.375 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.3507, allocations: 105.1 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3507, allocations: 0 / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3507, allocations: 0 / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3507, allocations: 4 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.3509, allocations: 67.88 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.3514, allocations: 311.2 kB / 1.359 GB, free: 1.789 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3516, allocations: 110.3 kB / 1.359 GB, free: 1.645 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3518, allocations: 55.47 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3518, allocations: 8 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.3518, allocations: 42.42 kB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.3518, allocations: 4 kB / 1.359 GB, free: 1.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0005357/0.3524, allocations: 181.3 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/0.3525, allocations: 132.5 kB / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009344/0.3534, allocations: 0.5053 MB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3534, allocations: 29.7 kB / 1.36 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.3536, allocations: 164.4 kB / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.3536, allocations: 8.406 kB / 1.36 GB, free: 456 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3538, allocations: 53.69 kB / 1.36 GB, free: 396 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.354, allocations: 338.8 kB / 1.361 GB, free: 48 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.3542, allocations: 103.9 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.3545, allocations: 166.7 kB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.355, allocations: 243.2 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-06/0.355, allocations: 0 / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006677/0.3557, allocations: 309.1 kB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.3557, allocations: 8 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3557, allocations: 0 / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.3557, allocations: 0 / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.3559, allocations: 19.98 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3559, allocations: 3.984 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.3562, allocations: 23.88 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.3562, allocations: 7.984 kB / 1.362 GB, free: 15.14 MB / 1.061 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.0002519/0.3565, allocations: 190.2 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.3565, allocations: 35.73 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.357, allocations: 183.9 kB / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.357, allocations: 0 / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.357, allocations: 0 / 1.362 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.357, allocations: 12.06 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3574, allocations: 260.5 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3575, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3576, allocations: 19.92 kB / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3576, allocations: 0 / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3576, allocations: 4 kB / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3576, allocations: 0 / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3576, allocations: 0 / 1.362 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.358, allocations: 199.4 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.3582, allocations: 63.61 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.3583, allocations: 4 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.3585, allocations: 15.98 kB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.3585, allocations: 7.938 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3586, allocations: 3.984 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006952/0.3592, allocations: 387 kB / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3592, allocations: 0 / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008137/0.3601, allocations: 103.9 kB / 1.363 GB, free: 13.59 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.007856/0.3679, allocations: 3.438 MB / 1.366 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006387/0.3686, allocations: 167.8 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3686, allocations: 0 / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3687, allocations: 55.91 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.3693, allocations: 46.56 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006623/0.376, allocations: 3.488 MB / 1.37 GB, free: 6.238 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.3766, allocations: 0.8182 MB / 1.371 GB, free: 5.395 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002428/0.3768, allocations: 50.28 kB / 1.371 GB, free: 5.344 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.377, allocations: 83.34 kB / 1.371 GB, free: 5.262 MB / 1.061 GB Notification: Performance of SimCode: time 1.032e-06/0.377, allocations: 0 / 1.371 GB, free: 5.262 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/0.4275, allocations: 10.94 MB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.16, allocations: 6.906 kB / 1.382 GB, free: 10.48 MB / 1.076 GB " [Timeout remaining time 289] (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: 17.757880335999744]