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.0008482/0.0008482, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008568/0.0008568, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.9395/0.9395, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.776/1.776, allocations: 377.9 MB / 0.6229 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 177] 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.834e-06/1.834e-06, allocations: 0 / 0.9821 GB, free: 2.172 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.01e-05, allocations: 10.22 kB / 0.9821 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002051/0.002082, allocations: 1.573 MB / 0.9837 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.003166, allocations: 0.8645 MB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.003246, allocations: 3.938 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.003476, allocations: 51.62 kB / 0.9846 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.003893, allocations: 151.2 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 3.054e-05/0.003924, allocations: 11.98 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.004252, allocations: 392.7 kB / 0.9851 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.004305, allocations: 12.94 kB / 0.9851 GB, free: 15.1 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.004569, allocations: 203.3 kB / 0.9853 GB, free: 14.9 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.004716, allocations: 119.7 kB / 0.9854 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.004743, allocations: 19.98 kB / 0.9855 GB, free: 14.76 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.004767, allocations: 16 kB / 0.9855 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.004829, allocations: 55.72 kB / 0.9855 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.004898, allocations: 79.78 kB / 0.9856 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.005132, allocations: 275.1 kB / 0.9859 GB, free: 14.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.005135, allocations: 0 / 0.9859 GB, free: 14.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.005136, allocations: 0 / 0.9859 GB, free: 14.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005141, allocations: 0 / 0.9859 GB, free: 14.34 MB / 0.948 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.0007332/0.005874, allocations: 0.5626 MB / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.005912, allocations: 12.03 kB / 0.9864 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.005964, allocations: 32.7 kB / 0.9864 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.006324, allocations: 332 kB / 0.9868 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.006333, allocations: 384 / 0.9868 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.006347, allocations: 12.31 kB / 0.9868 GB, free: 13.35 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.006476, allocations: 93.58 kB / 0.9869 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.006484, allocations: 192 / 0.9869 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.006494, allocations: 384 / 0.9869 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.006501, allocations: 11.94 kB / 0.9869 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.006574, allocations: 71.86 kB / 0.9869 GB, free: 13.16 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.006848, allocations: 267.8 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.294e-05/0.006941, allocations: 106.4 kB / 0.9873 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.928e-05/0.007, allocations: 67.39 kB / 0.9874 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.007017, allocations: 0 / 0.9874 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.007041, allocations: 38.55 kB / 0.9874 GB, free: 12.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.007042, allocations: 0 / 0.9874 GB, free: 12.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.000268/0.00731, allocations: 185.5 kB / 0.9876 GB, free: 12.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.007367, allocations: 144.4 kB / 0.9877 GB, free: 12.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.007791, allocations: 0.5132 MB / 0.9882 GB, free: 11.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.007804, allocations: 25.7 kB / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.007889, allocations: 164.1 kB / 0.9884 GB, free: 11.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.007917, allocations: 11.89 kB / 0.9884 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.007952, allocations: 25.7 kB / 0.9884 GB, free: 11.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.00805, allocations: 338.8 kB / 0.9888 GB, free: 11.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/0.008089, allocations: 35.95 kB / 0.9888 GB, free: 11.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.008141, allocations: 63.64 kB / 0.9889 GB, free: 11.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.008243, allocations: 111.3 kB / 0.989 GB, free: 10.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.008245, allocations: 0 / 0.989 GB, free: 10.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001396/0.008385, allocations: 141.3 kB / 0.9891 GB, free: 10.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.008408, allocations: 11.98 kB / 0.9891 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.008413, allocations: 0 / 0.9891 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.008427, allocations: 128 / 0.9891 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.008513, allocations: 15.98 kB / 0.9891 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.00852, allocations: 7.938 kB / 0.9891 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.008594, allocations: 11.92 kB / 0.9891 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.008602, allocations: 4 kB / 0.9891 GB, free: 10.7 MB / 0.948 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.0001136/0.008715, allocations: 177.7 kB / 0.9893 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.008744, allocations: 31.81 kB / 0.9893 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.008975, allocations: 179.7 kB / 0.9895 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008978, allocations: 8.062 kB / 0.9895 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.008984, allocations: 7.938 kB / 0.9895 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.008988, allocations: 0 / 0.9895 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.009157, allocations: 229.1 kB / 0.9898 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.00916, allocations: 4 kB / 0.9898 GB, free: 10.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.009212, allocations: 19.92 kB / 0.9898 GB, free: 10.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.009216, allocations: 4 kB / 0.9898 GB, free: 10.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.009225, allocations: 4 kB / 0.9898 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.009228, allocations: 4 kB / 0.9898 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009229, allocations: 0 / 0.9898 GB, free: 10 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.009411, allocations: 187.3 kB / 0.99 GB, free: 9.789 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.009499, allocations: 67.77 kB / 0.99 GB, free: 9.723 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.009525, allocations: 4 kB / 0.99 GB, free: 9.719 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.009594, allocations: 15.92 kB / 0.99 GB, free: 9.703 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.009615, allocations: 11.92 kB / 0.9901 GB, free: 9.691 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.00962, allocations: 0 / 0.9901 GB, free: 9.691 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003012/0.009921, allocations: 399 kB / 0.9904 GB, free: 9.305 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009921, allocations: 0 / 0.9904 GB, free: 9.305 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00017/0.01009, allocations: 40 kB / 0.9905 GB, free: 9.266 MB / 0.948 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 9.917e-05/0.01019, allocations: 99.25 kB / 0.9906 GB, free: 9.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.01034, allocations: 91.8 kB / 0.9907 GB, free: 9.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01034, allocations: 0 / 0.9907 GB, free: 9.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.173e-05/0.01038, allocations: 43.91 kB / 0.9907 GB, free: 9.027 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01068, allocations: 70.27 kB / 0.9908 GB, free: 8.961 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.01139, allocations: 0.5936 MB / 0.9913 GB, free: 8.324 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.01151, allocations: 207.4 kB / 0.9915 GB, free: 8.102 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.01157, allocations: 20.5 kB / 0.9916 GB, free: 8.082 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/0.01157, allocations: 0 / 0.9916 GB, free: 8.082 MB / 0.948 GB Notification: Performance of Templates: time 0.004161/0.01573, allocations: 3.864 MB / 0.9953 GB, free: 4.238 MB / 0.948 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.071830837987363]