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.001757/0.001757, 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.002193/0.002193, allocations: 211.8 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.611/1.611, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.313/3.313, allocations: 0.4892 GB / 0.7951 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_12_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_12_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.00207/0.00207, allocations: 65.02 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3445, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002872/0.3474, allocations: 1.562 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.3489, allocations: 0.8724 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.349, allocations: 3.938 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.3493, allocations: 59.73 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.3497, allocations: 139.3 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.458e-05/0.3498, allocations: 7.984 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.3502, allocations: 378.2 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.534e-05/0.3503, allocations: 16.94 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.3506, allocations: 159.3 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.3508, allocations: 143.3 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/0.3508, allocations: 16 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.895e-05/0.3509, allocations: 16 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.815e-05/0.351, allocations: 51.75 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3511, allocations: 103.3 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.3514, allocations: 290.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3514, allocations: 4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3514, allocations: 3.938 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.3514, allocations: 0 / 1.33 GB, free: 14.08 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.001143/0.3526, allocations: 0.5626 MB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3526, allocations: 12.03 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.3527, allocations: 32.75 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.3532, allocations: 336.7 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3532, allocations: 384 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3533, allocations: 8.375 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3534, allocations: 101.3 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3534, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3535, allocations: 4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3535, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3536, allocations: 71.81 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.3539, allocations: 275.9 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.3541, allocations: 106.4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.3542, allocations: 59.45 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3542, allocations: 3.938 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3543, allocations: 38.56 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3543, allocations: 0 / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003691/0.3546, allocations: 193.1 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.3547, allocations: 133 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.3554, allocations: 0.5132 MB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3554, allocations: 29.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3556, allocations: 160.1 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.3556, allocations: 15.89 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.3557, allocations: 17.72 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.3558, allocations: 342.8 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.3559, allocations: 35.97 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.356, allocations: 59.39 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3561, allocations: 107.3 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3561, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002221/0.3564, allocations: 149.2 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3564, allocations: 9.719 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3564, allocations: 3.938 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3564, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3565, allocations: 11.98 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3565, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.3566, allocations: 16.11 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3567, allocations: 4 kB / 1.333 GB, free: 10.45 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.0001809/0.3568, allocations: 178.2 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.3569, allocations: 35.77 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.3572, allocations: 195.6 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3572, allocations: 8 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3573, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3573, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.3575, allocations: 229.3 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3575, allocations: 4 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.3576, allocations: 15.94 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3576, allocations: 0 / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3576, allocations: 0 / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.3576, allocations: 15.91 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3576, allocations: 0 / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.3579, allocations: 187.4 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.3581, allocations: 67.67 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.3581, allocations: 11.94 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3583, allocations: 19.91 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.3583, allocations: 4 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.3583, allocations: 4 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000474/0.3588, allocations: 395 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3588, allocations: 0 / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002533/0.359, allocations: 40 kB / 1.335 GB, free: 8.992 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.0001086/0.3591, allocations: 99.25 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.3593, allocations: 83.86 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3593, allocations: 256 / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.3594, allocations: 47.91 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3598, allocations: 65.61 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3608, allocations: 0.6179 MB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.361, allocations: 199.4 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.653e-05/0.3611, allocations: 31.42 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.3611, allocations: 0 / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of Templates: time 0.006542/0.3676, allocations: 3.858 MB / 1.339 GB, free: 3.953 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 400] 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: 11.764470870606601]