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.002139/0.002139, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00251/0.00251, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.868/2.868, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.589e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002946/0.002972, allocations: 1.572 MB / 0.8123 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.004651, allocations: 0.8686 MB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.004723, allocations: 7.938 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.004983, allocations: 53.22 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.005499, allocations: 151.2 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.742e-05/0.005536, allocations: 8.656 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.006059, allocations: 388.3 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/0.006129, allocations: 20.88 kB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.006607, allocations: 195.4 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.006839, allocations: 124.4 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.00688, allocations: 17 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.006927, allocations: 16 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.007014, allocations: 55.7 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.00715, allocations: 80.94 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.007518, allocations: 271.1 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.007521, allocations: 0 / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.62e-07/0.007522, allocations: 1.375 kB / 0.8145 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.007527, allocations: 0 / 0.8145 GB, free: 14.33 MB / 0.7761 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.001243/0.00877, allocations: 0.5605 MB / 0.815 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.008805, allocations: 10.03 kB / 0.815 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.984e-05/0.008895, allocations: 36.7 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.009478, allocations: 340 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.009488, allocations: 1 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.009503, allocations: 4.375 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.009683, allocations: 100 kB / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.009691, allocations: 192 / 0.8155 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.009705, allocations: 4.375 kB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.009713, allocations: 3.938 kB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.009839, allocations: 71.86 kB / 0.8156 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.01026, allocations: 271.8 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.01041, allocations: 104.2 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.01052, allocations: 67.39 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.01054, allocations: 4 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.01058, allocations: 30.56 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.01058, allocations: 0.5312 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0004247/0.011, allocations: 191.6 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.0111, allocations: 132.5 kB / 0.8163 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007489/0.01185, allocations: 0.5132 MB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.01187, allocations: 25.7 kB / 0.8169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.01204, allocations: 166.7 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.01208, allocations: 15.84 kB / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.01213, allocations: 25.66 kB / 0.8171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.01234, allocations: 346.8 kB / 0.8174 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.01241, allocations: 35.95 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-05/0.01249, allocations: 63.38 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.01267, allocations: 105.2 kB / 0.8176 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01267, allocations: 0 / 0.8176 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002714/0.01294, allocations: 142.8 kB / 0.8177 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.01296, allocations: 4 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.01297, allocations: 11.67 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.01298, allocations: 0 / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.01309, allocations: 8 kB / 0.8177 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.01311, allocations: 11.86 kB / 0.8178 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.01327, allocations: 11.98 kB / 0.8178 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.01328, allocations: 0 / 0.8178 GB, free: 10.71 MB / 0.7761 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.0001963/0.01347, allocations: 181.8 kB / 0.8179 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.01353, allocations: 31.81 kB / 0.818 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.01392, allocations: 181.6 kB / 0.8181 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01393, allocations: 0 / 0.8181 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.01393, allocations: 11.88 kB / 0.8182 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01394, allocations: 4 kB / 0.8182 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.01425, allocations: 230.1 kB / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01425, allocations: 0 / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.01435, allocations: 19.98 kB / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.01436, allocations: 9 kB / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01437, allocations: 0 / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01437, allocations: 0 / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01437, allocations: 5.125 kB / 0.8184 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.01469, allocations: 199.3 kB / 0.8186 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.01485, allocations: 56.91 kB / 0.8187 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.0149, allocations: 7.953 kB / 0.8187 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.01505, allocations: 7.984 kB / 0.8187 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.01509, allocations: 16.7 kB / 0.8187 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.0151, allocations: 4 kB / 0.8187 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005523/0.01565, allocations: 392.9 kB / 0.8191 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01565, allocations: 0 / 0.8191 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002866/0.01594, allocations: 40 kB / 0.8191 GB, free: 9.277 MB / 0.7761 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.0001283/0.01607, allocations: 103.2 kB / 0.8192 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.01627, allocations: 89.14 kB / 0.8193 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01627, allocations: 0 / 0.8193 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.655e-05/0.01635, allocations: 40.69 kB / 0.8193 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.01679, allocations: 76.52 kB / 0.8194 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.01795, allocations: 0.5884 MB / 0.82 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.0182, allocations: 218 kB / 0.8202 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000139/0.01834, allocations: 50.25 kB / 0.8202 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.01843, allocations: 24.48 kB / 0.8203 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01843, allocations: 0 / 0.8203 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of Templates: time 0.008755/0.02719, allocations: 3.858 MB / 0.824 GB, free: 4.285 MB / 0.7761 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: 7.725138621986844]