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.001954/0.001954, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002735/0.002735, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.992 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.135/3.135, allocations: 0.4899 GB / 0.7951 GB, free: 33.49 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: 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.002077/0.002077, allocations: 67.53 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3297, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003154/0.3329, allocations: 1.614 MB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3345, allocations: 0.958 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.409e-05/0.3346, allocations: 3.938 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.3348, allocations: 63.64 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.3353, allocations: 147.3 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.93e-05/0.3353, allocations: 11.98 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.3358, allocations: 372.9 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.3359, allocations: 20.86 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.3362, allocations: 155.3 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.3364, allocations: 139.3 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.3364, allocations: 20 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.271e-05/0.3365, allocations: 16 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.3366, allocations: 47.77 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3367, allocations: 135.1 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.3371, allocations: 286.7 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3371, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3371, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3371, allocations: 0 / 1.33 GB, free: 13.49 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.00119/0.3383, allocations: 0.5743 MB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3383, allocations: 8.031 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.3384, allocations: 32.75 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.3389, allocations: 336.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3389, allocations: 4.375 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.3389, allocations: 4.375 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.3391, allocations: 105.3 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3391, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3391, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.3391, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3392, allocations: 63.88 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.3398, allocations: 323.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.34, allocations: 110.5 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.3402, allocations: 71.33 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.3402, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3402, allocations: 42.48 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3402, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003918/0.3406, allocations: 185.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/0.3407, allocations: 136.5 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009759/0.3417, allocations: 0.5132 MB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3417, allocations: 29.7 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3418, allocations: 160.1 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.3419, allocations: 15.84 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.3419, allocations: 21.7 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3421, allocations: 338.8 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.3422, allocations: 39.95 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.3423, allocations: 59.34 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3424, allocations: 99.36 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3424, allocations: 0 / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003227/0.3427, allocations: 153.3 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3428, allocations: 7.938 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3428, allocations: 3.938 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3428, allocations: 4 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3429, allocations: 11.98 kB / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3429, allocations: 0 / 1.333 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3431, allocations: 11.98 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3431, allocations: 7.984 kB / 1.334 GB, free: 9.781 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.0001776/0.3433, allocations: 178.4 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.3433, allocations: 43.64 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.3437, allocations: 183.7 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3437, allocations: 4 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.3437, allocations: 0 / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3437, allocations: 0 / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.344, allocations: 284.7 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.344, allocations: 0 / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.3441, allocations: 15.94 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3441, allocations: 3.938 kB / 1.334 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3441, allocations: 4 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.3441, allocations: 3.984 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3441, allocations: 0 / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.3444, allocations: 195.4 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3445, allocations: 75.61 kB / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.3446, allocations: 0 / 1.334 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3447, allocations: 15.97 kB / 1.334 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.3447, allocations: 8 kB / 1.334 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3447, allocations: 0 / 1.334 GB, free: 8.695 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004621/0.3452, allocations: 395 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3452, allocations: 4 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002482/0.3455, allocations: 43.94 kB / 1.335 GB, free: 8.27 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.000105/0.3456, allocations: 99.25 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.3458, allocations: 83.86 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3458, allocations: 0 / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/0.3458, allocations: 43.91 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3462, allocations: 79.67 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3473, allocations: 0.5849 MB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.3478, allocations: 0.8182 MB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.3479, allocations: 50.27 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.348, allocations: 23.44 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.348, allocations: 0 / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of Templates: time 0.007826/0.3558, allocations: 3.663 MB / 1.34 GB, free: 2.816 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/jenkins/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: 8.547476953826845]