Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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.001365/0.001365, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001732/0.001732, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.805 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.156/3.156, allocations: 0.49 GB / 0.7951 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 177] 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.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.002015/0.002015, allocations: 77.64 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3545, allocations: 176.1 MB / 1.326 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003082/0.3576, allocations: 1.573 MB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3592, allocations: 0.8684 MB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.3592, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.3595, allocations: 59.67 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.36, allocations: 147.3 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.993e-05/0.3601, allocations: 11.94 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.3605, allocations: 366.3 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.98e-05/0.3606, allocations: 17.2 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.3608, allocations: 155.4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.361, allocations: 139.3 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.3611, allocations: 16 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-05/0.3611, allocations: 16 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/0.3612, allocations: 51.7 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.3613, allocations: 99.47 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.3617, allocations: 294.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3617, allocations: 3.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3617, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3617, allocations: 0 / 1.33 GB, free: 13.73 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.001262/0.3629, allocations: 0.5704 MB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.363, allocations: 8.031 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.363, allocations: 30.75 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.3631, allocations: 32.75 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.3637, allocations: 340.7 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3637, allocations: 4.375 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3637, allocations: 4.312 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.3638, allocations: 109.1 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3639, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3639, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3639, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.364, allocations: 63.88 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.3644, allocations: 299.3 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3645, allocations: 110.4 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.3646, allocations: 59.47 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.3646, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.3647, allocations: 46.42 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3647, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003471/0.365, allocations: 189.2 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.3651, allocations: 128.5 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.3657, allocations: 0.5093 MB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3657, allocations: 30.2 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.3659, allocations: 172.1 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.3659, allocations: 11.89 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.3659, allocations: 21.7 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3661, allocations: 342.8 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.037e-05/0.3662, allocations: 35.95 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.466e-05/0.3662, allocations: 59.39 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3664, allocations: 103.3 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3664, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002373/0.3666, allocations: 153.2 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3666, allocations: 4 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3666, allocations: 8 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3666, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3668, allocations: 11.98 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3668, allocations: 0 / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3669, allocations: 11.98 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3669, allocations: 3.984 kB / 1.333 GB, free: 10.01 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 (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.0001692/0.3671, allocations: 185.8 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.3672, allocations: 39.7 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.3675, allocations: 187.6 kB / 1.333 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3675, allocations: 3.938 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3675, allocations: 4 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3675, allocations: 0 / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.3678, allocations: 240.6 kB / 1.333 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3678, allocations: 0 / 1.333 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.389e-05/0.3679, allocations: 27.98 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.3679, allocations: 7.938 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3679, allocations: 0 / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3679, allocations: 4 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3679, allocations: 0 / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3682, allocations: 191.4 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.3683, allocations: 75.61 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.3684, allocations: 0 / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.3685, allocations: 11.98 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.3686, allocations: 11.92 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3686, allocations: 0 / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004579/0.369, allocations: 399 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.369, allocations: 0 / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002559/0.3693, allocations: 40 kB / 1.334 GB, free: 8.523 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.0005509/0.3698, allocations: 0.7357 MB / 1.335 GB, free: 7.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.37, allocations: 79.88 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.37, allocations: 0 / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.3701, allocations: 52.33 kB / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.3705, allocations: 66.83 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.3745, allocations: 3.18 MB / 1.338 GB, free: 4.258 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.3747, allocations: 211.4 kB / 1.338 GB, free: 4.031 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.3748, allocations: 50.27 kB / 1.338 GB, free: 3.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.375, allocations: 83.39 kB / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/0.375, allocations: 0 / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/0.4107, allocations: 7.598 MB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.59, allocations: 13.69 kB / 1.346 GB, free: 12.51 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.211291741987225]