Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001153/0.001153, 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.0009597/0.0009597, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.8908/0.8908, allocations: 177.2 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.753/1.753, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.978e-05, allocations: 6.219 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.00176/0.00178, allocations: 1.556 MB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009826/0.002762, allocations: 0.8683 MB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.795e-05/0.00283, allocations: 7.875 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.003041, allocations: 59.62 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.003442, allocations: 143.2 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.897e-05/0.003471, allocations: 15.97 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000281/0.003752, allocations: 378.1 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.003799, allocations: 12.94 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.004044, allocations: 211.3 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.004184, allocations: 127.6 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.004207, allocations: 16 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.382e-05/0.004231, allocations: 16 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.004287, allocations: 47.72 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.004355, allocations: 87.78 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.004564, allocations: 275.1 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004566, allocations: 0 / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004567, allocations: 0 / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004571, allocations: 0 / 1.005 GB, free: 9.23 MB / 0.9636 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.0006661/0.005237, allocations: 0.551 MB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.005271, allocations: 16.75 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.00532, allocations: 32.7 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.005654, allocations: 336 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.005662, allocations: 384 / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.005674, allocations: 4.375 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.00579, allocations: 101.6 kB / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.005797, allocations: 192 / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.005806, allocations: 384 / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.005812, allocations: 7.938 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.005879, allocations: 71.86 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.006118, allocations: 267.9 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.941e-05/0.006208, allocations: 106.4 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.006295, allocations: 59.41 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.006311, allocations: 3.938 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.00633, allocations: 42.55 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.006331, allocations: 0 / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002427/0.006573, allocations: 181.7 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.00662, allocations: 140.5 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.007067, allocations: 0.5132 MB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.007079, allocations: 29.69 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.007158, allocations: 160.1 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.007183, allocations: 15.89 kB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.007214, allocations: 25.66 kB / 1.007 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.007294, allocations: 342.8 kB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.007331, allocations: 27.97 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.564e-05/0.007376, allocations: 71.27 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.132e-05/0.007468, allocations: 103.4 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.00747, allocations: 0 / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.007604, allocations: 149.3 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.007615, allocations: 8 kB / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007619, allocations: 0 / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.00763, allocations: 0 / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.007703, allocations: 11.98 kB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.007709, allocations: 12.06 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.007778, allocations: 11.92 kB / 1.008 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.007786, allocations: 7.984 kB / 1.008 GB, free: 5.598 MB / 0.9636 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 9.89e-05/0.007885, allocations: 169.8 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.007912, allocations: 35.77 kB / 1.008 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.008119, allocations: 187.8 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008122, allocations: 4 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.008126, allocations: 3.938 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008129, allocations: 4.125 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.008282, allocations: 229.1 kB / 1.008 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.008283, allocations: 0 / 1.008 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/0.008324, allocations: 19.98 kB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008326, allocations: 4 kB / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.008334, allocations: 0 / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.008336, allocations: 11.88 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008337, allocations: 0 / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.008616, allocations: 195.3 kB / 1.009 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.548e-05/0.008691, allocations: 59.75 kB / 1.009 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.008714, allocations: 7.984 kB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.008778, allocations: 15.98 kB / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.008797, allocations: 11.88 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.008801, allocations: 0 / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000275/0.009076, allocations: 395 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009076, allocations: 0 / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001595/0.009235, allocations: 44 kB / 1.009 GB, free: 4.16 MB / 0.9636 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 6.722e-05/0.009302, allocations: 95.25 kB / 1.009 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.009432, allocations: 96.11 kB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.009433, allocations: 0 / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.009475, allocations: 51.89 kB / 1.009 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.009718, allocations: 58.69 kB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.01032, allocations: 0.6014 MB / 1.01 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01043, allocations: 203.4 kB / 1.01 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.01048, allocations: 24.5 kB / 1.01 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/0.01048, allocations: 0 / 1.01 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of Templates: time 0.003673/0.01415, allocations: 3.861 MB / 1.014 GB, free: 15.13 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.7805803027004]