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.001312/0.001312, allocations: 107 kB / 16.45 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.001435/0.001435, 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.416/1.416, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.712/2.712, allocations: 476.7 MB / 0.7672 GB, free: 5.387 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.002261/0.002261, allocations: 75.88 kB / 1.112 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7928, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003442/0.7962, allocations: 1.619 MB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.798, allocations: 0.9596 MB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.7981, allocations: 4 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.7984, allocations: 59.66 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005766/0.7989, allocations: 143.3 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.305e-05/0.799, allocations: 7.984 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.7995, allocations: 366.3 kB / 1.281 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.7996, allocations: 28.69 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.7999, allocations: 163.3 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.8002, allocations: 135.4 kB / 1.282 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.8002, allocations: 16 kB / 1.282 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008472/0.8011, allocations: 0.5397 MB / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.8012, allocations: 51.77 kB / 1.282 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.8014, allocations: 139.1 kB / 1.282 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.8029, allocations: 0.8515 MB / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8029, allocations: 0 / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8029, allocations: 0 / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.8029, allocations: 0 / 1.283 GB, free: 8.324 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.001745/0.8047, allocations: 0.6613 MB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.8047, allocations: 12.03 kB / 1.284 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.8048, allocations: 38.73 kB / 1.284 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.8049, allocations: 36.7 kB / 1.284 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.8055, allocations: 378.7 kB / 1.284 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.8055, allocations: 4.375 kB / 1.284 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.8056, allocations: 4.375 kB / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.8058, allocations: 101.1 kB / 1.284 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.8058, allocations: 0 / 1.284 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.8058, allocations: 7.938 kB / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.8058, allocations: 4 kB / 1.284 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.8059, allocations: 67.86 kB / 1.284 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.8065, allocations: 348 kB / 1.285 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.8067, allocations: 102.4 kB / 1.285 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.8068, allocations: 67.39 kB / 1.285 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.8068, allocations: 0 / 1.285 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.8068, allocations: 38.5 kB / 1.285 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.8068, allocations: 4 kB / 1.285 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004666/0.8073, allocations: 185.2 kB / 1.285 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.8074, allocations: 132.5 kB / 1.285 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/0.8081, allocations: 0.4976 MB / 1.286 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.8082, allocations: 33.69 kB / 1.286 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.8083, allocations: 152.9 kB / 1.286 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.8084, allocations: 15.78 kB / 1.286 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.8085, allocations: 57.64 kB / 1.286 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.8087, allocations: 342.8 kB / 1.286 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.8088, allocations: 103.9 kB / 1.286 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.809, allocations: 154.8 kB / 1.287 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.8094, allocations: 239.2 kB / 1.287 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8094, allocations: 0 / 1.287 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004602/0.8099, allocations: 297.2 kB / 1.287 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8099, allocations: 4 kB / 1.287 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.8099, allocations: 4 kB / 1.287 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.8099, allocations: 0 / 1.287 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.8101, allocations: 15.98 kB / 1.287 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.8101, allocations: 7.938 kB / 1.287 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.8103, allocations: 23.88 kB / 1.287 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.8103, allocations: 15.98 kB / 1.287 GB, free: 3.883 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.0001945/0.8105, allocations: 172.5 kB / 1.287 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.8106, allocations: 39.7 kB / 1.287 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.8109, allocations: 183.7 kB / 1.288 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8109, allocations: 4.234 kB / 1.288 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8109, allocations: 128 / 1.288 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.8109, allocations: 7.984 kB / 1.288 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.8113, allocations: 293.4 kB / 1.288 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8113, allocations: 0 / 1.288 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.8114, allocations: 19.92 kB / 1.288 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.8114, allocations: 4 kB / 1.288 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.8114, allocations: 4 kB / 1.288 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.8114, allocations: 4 kB / 1.288 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8114, allocations: 3.938 kB / 1.288 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.8117, allocations: 195.3 kB / 1.288 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.8119, allocations: 140.8 kB / 1.288 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.8119, allocations: 0 / 1.288 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.8121, allocations: 11.98 kB / 1.288 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.8121, allocations: 4 kB / 1.288 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.8121, allocations: 0 / 1.288 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005125/0.8126, allocations: 391 kB / 1.289 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8126, allocations: 0 / 1.289 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005414/0.8132, allocations: 107.9 kB / 1.289 GB, free: 2.227 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.005598/0.8188, allocations: 3.431 MB / 1.292 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004188/0.8192, allocations: 167.9 kB / 1.292 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8192, allocations: 8 kB / 1.292 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.8193, allocations: 47.89 kB / 1.292 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.8197, allocations: 57.52 kB / 1.292 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005224/0.825, allocations: 3.49 MB / 1.296 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.8254, allocations: 0.8104 MB / 1.296 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.8256, allocations: 50.28 kB / 1.297 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.8257, allocations: 79.41 kB / 1.297 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/0.8257, allocations: 0 / 1.297 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.8703, allocations: 10.81 MB / 1.307 GB, free: 15.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.763/9.633, allocations: 10.25 kB / 1.307 GB, free: 15.27 MB / 1.014 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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: 15.53598762000911]