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.002312/0.002312, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002728/0.002728, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.598/1.598, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 3.017/3.017, allocations: 377.8 MB / 0.6232 GB, free: 8.547 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 2.534e-06/2.534e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.686e-05/4.939e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003402/0.003451, allocations: 1.613 MB / 0.8123 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.005228, allocations: 0.9233 MB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.005301, allocations: 7.938 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.005576, allocations: 56.88 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005064/0.006082, allocations: 148.9 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.99e-05/0.006122, allocations: 15.91 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.00669, allocations: 382.9 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.006744, allocations: 12.94 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.00712, allocations: 205 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.007346, allocations: 123.7 kB / 0.8142 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.00739, allocations: 16.66 kB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.368e-05/0.007444, allocations: 16 kB / 0.8142 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.69e-05/0.007531, allocations: 52.7 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.00766, allocations: 79.78 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.008024, allocations: 275.8 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.008027, allocations: 0 / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.403e-06/0.008028, allocations: 0.6875 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.008034, allocations: 0 / 0.8146 GB, free: 14.25 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.001283/0.009317, allocations: 0.6734 MB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.009351, allocations: 12.03 kB / 0.8152 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.563e-05/0.009436, allocations: 40.64 kB / 0.8153 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.01013, allocations: 327.6 kB / 0.8156 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.01014, allocations: 1.906 kB / 0.8156 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.01016, allocations: 4.375 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.01034, allocations: 112.9 kB / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.01035, allocations: 192 / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.01036, allocations: 384 / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.01037, allocations: 5.469 kB / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.01048, allocations: 63.86 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.01099, allocations: 335.7 kB / 0.8161 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.01118, allocations: 134.1 kB / 0.8162 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.01129, allocations: 74.7 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.01131, allocations: 4 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.01134, allocations: 37.39 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.01135, allocations: 1.062 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003882/0.01173, allocations: 178.8 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.01184, allocations: 136.5 kB / 0.8166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/0.01265, allocations: 0.5963 MB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.01267, allocations: 26.23 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.0129, allocations: 235.5 kB / 0.8175 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.01293, allocations: 11.84 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.01299, allocations: 35.84 kB / 0.8175 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003262/0.01332, allocations: 0.536 MB / 0.818 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.01338, allocations: 35.89 kB / 0.8181 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.01347, allocations: 67.62 kB / 0.8181 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.01365, allocations: 112.5 kB / 0.8182 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01365, allocations: 0 / 0.8182 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002502/0.0139, allocations: 138.6 kB / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.01391, allocations: 4 kB / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.01392, allocations: 4 kB / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.01394, allocations: 4.641 kB / 0.8184 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.01404, allocations: 8 kB / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.01406, allocations: 8.594 kB / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.0142, allocations: 15.97 kB / 0.8184 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.01421, allocations: 4.844 kB / 0.8184 GB, free: 9.996 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.0002039/0.01441, allocations: 217.4 kB / 0.8186 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.01447, allocations: 31.81 kB / 0.8187 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/0.01504, allocations: 169 kB / 0.8188 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.01505, allocations: 0 / 0.8188 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.01506, allocations: 8.531 kB / 0.8188 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01506, allocations: 4.531 kB / 0.8188 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.01544, allocations: 292.4 kB / 0.8191 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01544, allocations: 1.844 kB / 0.8191 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.01554, allocations: 19.98 kB / 0.8191 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01555, allocations: 0 / 0.8191 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01556, allocations: 4 kB / 0.8191 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.01556, allocations: 4 kB / 0.8191 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01556, allocations: 0.875 kB / 0.8191 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.01589, allocations: 218.5 kB / 0.8193 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.01605, allocations: 51.78 kB / 0.8194 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.0161, allocations: 3.953 kB / 0.8194 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.01625, allocations: 11.98 kB / 0.8194 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.01628, allocations: 15.92 kB / 0.8194 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.01629, allocations: 0 / 0.8194 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006012/0.01689, allocations: 442.9 kB / 0.8199 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01689, allocations: 0 / 0.8199 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002579/0.01715, allocations: 40 kB / 0.8199 GB, free: 8.414 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.0001181/0.01726, allocations: 99.97 kB / 0.82 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.01748, allocations: 96.45 kB / 0.8201 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01748, allocations: 5.031 kB / 0.8201 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.01758, allocations: 51.66 kB / 0.8201 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.01796, allocations: 73.27 kB / 0.8202 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.01907, allocations: 0.5726 MB / 0.8208 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.01928, allocations: 198.4 kB / 0.8209 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.01939, allocations: 36.61 kB / 0.821 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.01947, allocations: 24.5 kB / 0.821 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of SimCode: time 4.4e-07/0.01947, allocations: 0 / 0.821 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of Templates: time 0.00915/0.02862, allocations: 3.847 MB / 0.8248 GB, free: 3.465 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 240] 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.010473432950675]