Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001644/0.001644, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001772/0.001772, allocations: 216 kB / 22.99 MB, free: 4.945 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.287/3.287, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") [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.00208/0.00208, allocations: 63.34 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3542, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003016/0.3572, allocations: 1.574 MB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3587, allocations: 0.8656 MB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.3588, allocations: 4 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.3591, allocations: 51.69 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.3596, allocations: 147.3 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.753e-05/0.3596, allocations: 11.92 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005848/0.3602, allocations: 374.3 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.643e-05/0.3602, allocations: 12.94 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.3605, allocations: 155.3 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.3608, allocations: 143.4 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.3608, allocations: 16 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.771e-05/0.3609, allocations: 16 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.3609, allocations: 55.69 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.3611, allocations: 103.4 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.3614, allocations: 286.7 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3614, allocations: 3.938 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3614, allocations: 3.938 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.3614, allocations: 0 / 1.368 GB, free: 9.73 MB / 1.061 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.00119/0.3626, allocations: 0.5704 MB / 1.369 GB, free: 9.129 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3626, allocations: 8.031 kB / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.646e-05/0.3627, allocations: 36.7 kB / 1.369 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.3633, allocations: 332.7 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3633, allocations: 4.375 kB / 1.369 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3633, allocations: 8.375 kB / 1.369 GB, free: 8.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.3635, allocations: 93.39 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3635, allocations: 7.938 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3635, allocations: 0 / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3635, allocations: 0 / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3637, allocations: 71.86 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.3641, allocations: 271.9 kB / 1.37 GB, free: 8.238 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.3642, allocations: 106.4 kB / 1.37 GB, free: 8.098 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.3643, allocations: 59.45 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3644, allocations: 4 kB / 1.37 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.3644, allocations: 42.5 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3644, allocations: 4 kB / 1.37 GB, free: 7.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003467/0.3647, allocations: 181.3 kB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.3648, allocations: 136.4 kB / 1.37 GB, free: 7.621 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/0.3655, allocations: 0.5132 MB / 1.371 GB, free: 7.098 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.3655, allocations: 25.7 kB / 1.371 GB, free: 7.066 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3657, allocations: 160.1 kB / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3657, allocations: 20.39 kB / 1.371 GB, free: 6.887 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.3657, allocations: 17.67 kB / 1.371 GB, free: 6.863 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3659, allocations: 354.8 kB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.366, allocations: 27.97 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.3661, allocations: 63.39 kB / 1.371 GB, free: 6.406 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3662, allocations: 99.3 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3662, allocations: 0 / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002312/0.3664, allocations: 149.5 kB / 1.372 GB, free: 6.145 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3665, allocations: 4 kB / 1.372 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3665, allocations: 7.875 kB / 1.372 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3665, allocations: 4 kB / 1.372 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3666, allocations: 19.92 kB / 1.372 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3666, allocations: 0 / 1.372 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3667, allocations: 7.984 kB / 1.372 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3668, allocations: 4 kB / 1.372 GB, free: 6.098 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 (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.0001652/0.3669, allocations: 177.7 kB / 1.372 GB, free: 5.914 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.367, allocations: 31.81 kB / 1.372 GB, free: 5.883 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.3673, allocations: 199.6 kB / 1.372 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3673, allocations: 4 kB / 1.372 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3673, allocations: 0 / 1.372 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.3673, allocations: 7.984 kB / 1.372 GB, free: 5.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.3676, allocations: 225.2 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3676, allocations: 4 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.69e-05/0.3677, allocations: 15.98 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3677, allocations: 0 / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3677, allocations: 4.125 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.3677, allocations: 11.88 kB / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3677, allocations: 0 / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.368, allocations: 195.4 kB / 1.372 GB, free: 5.164 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.3682, allocations: 59.72 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.3682, allocations: 11.95 kB / 1.372 GB, free: 5.094 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3683, allocations: 11.92 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.3684, allocations: 11.92 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3684, allocations: 4 kB / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005005/0.3689, allocations: 399 kB / 1.373 GB, free: 4.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3689, allocations: 0 / 1.373 GB, free: 4.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000244/0.3691, allocations: 40 kB / 1.373 GB, free: 4.641 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.0001054/0.3692, allocations: 99.25 kB / 1.373 GB, free: 4.535 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.3694, allocations: 83.86 kB / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3694, allocations: 0 / 1.373 GB, free: 4.453 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.3695, allocations: 43.91 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.3699, allocations: 70.06 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3709, allocations: 0.6169 MB / 1.374 GB, free: 3.684 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.3711, allocations: 203.4 kB / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/0.3712, allocations: 31.42 kB / 1.374 GB, free: 3.438 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.3712, allocations: 4 kB / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of Templates: time 0.006517/0.3777, allocations: 3.844 MB / 1.378 GB, free: 15.61 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.5720458580181]