Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.314/2.314, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 71.88 kB / 1.059 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2582, allocations: 160.7 MB / 1.216 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002566/0.2608, allocations: 1.589 MB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.2622, allocations: 0.9317 MB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.705e-05/0.2623, allocations: 4 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.2625, allocations: 59.64 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004433/0.2629, allocations: 143.3 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.293e-05/0.263, allocations: 3.984 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.2634, allocations: 370.3 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/0.2634, allocations: 24.69 kB / 1.219 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.2637, allocations: 143.4 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.2639, allocations: 143.3 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.2639, allocations: 16 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.084e-05/0.264, allocations: 16 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.264, allocations: 55.69 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.2642, allocations: 123.3 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.2645, allocations: 290.9 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2645, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2645, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2645, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 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.001062/0.2655, allocations: 0.6457 MB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2656, allocations: 8.031 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.2656, allocations: 34.75 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.2657, allocations: 28.75 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.2662, allocations: 398.5 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.2662, allocations: 8.375 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.2662, allocations: 384 / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.2664, allocations: 97.2 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2664, allocations: 0 / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2664, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.2664, allocations: 3.984 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.2665, allocations: 63.88 kB / 1.221 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.2669, allocations: 360 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.267, allocations: 114.3 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.945e-05/0.2671, allocations: 59.47 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.2671, allocations: 3.984 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.2671, allocations: 46.42 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2671, allocations: 0 / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003243/0.2674, allocations: 185.5 kB / 1.221 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.2675, allocations: 132.5 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000585/0.2681, allocations: 0.5093 MB / 1.222 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2681, allocations: 33.64 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2682, allocations: 164.1 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.2683, allocations: 11.91 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.2683, allocations: 21.7 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2685, allocations: 343 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.2685, allocations: 31.97 kB / 1.222 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.2686, allocations: 59.39 kB / 1.223 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2687, allocations: 107.3 kB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2687, allocations: 0 / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002282/0.269, allocations: 153.2 kB / 1.223 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.269, allocations: 4 kB / 1.223 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.269, allocations: 4 kB / 1.223 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.269, allocations: 0 / 1.223 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.2691, allocations: 11.98 kB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2691, allocations: 3.938 kB / 1.223 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.2692, allocations: 16.11 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2692, allocations: 7.984 kB / 1.223 GB, free: 8.066 MB / 0.9669 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001494/0.2694, allocations: 177.7 kB / 1.223 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.2694, allocations: 31.75 kB / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.2697, allocations: 191.6 kB / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2697, allocations: 4 kB / 1.223 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2697, allocations: 4.125 kB / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2697, allocations: 0 / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.27, allocations: 309.5 kB / 1.224 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.27, allocations: 0 / 1.224 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.751e-05/0.2701, allocations: 15.94 kB / 1.224 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2701, allocations: 0 / 1.224 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2701, allocations: 4 kB / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.2701, allocations: 3.984 kB / 1.224 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2701, allocations: 0 / 1.224 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.2704, allocations: 191.4 kB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.2705, allocations: 148.7 kB / 1.224 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.2706, allocations: 15.92 kB / 1.224 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.2707, allocations: 7.984 kB / 1.224 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.2707, allocations: 8 kB / 1.224 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.2707, allocations: 8 kB / 1.224 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004424/0.2712, allocations: 395 kB / 1.224 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2712, allocations: 0 / 1.224 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002381/0.2714, allocations: 40 kB / 1.224 GB, free: 6.438 MB / 0.9669 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.0005072/0.2719, allocations: 0.7319 MB / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.2721, allocations: 87.84 kB / 1.225 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2721, allocations: 0 / 1.225 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.2721, allocations: 47.91 kB / 1.225 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2725, allocations: 69.98 kB / 1.225 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.2761, allocations: 3.18 MB / 1.228 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.2765, allocations: 0.8182 MB / 1.229 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.2766, allocations: 46.27 kB / 1.229 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.2768, allocations: 79.41 kB / 1.229 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.2768, allocations: 0 / 1.229 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3065, allocations: 6.636 MB / 1.236 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.743, allocations: 7.031 kB / 1.236 GB, free: 10.71 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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: 12.890298222999263]