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.001386/0.001386, allocations: 79.59 kB / 19.18 MB, free: 2.516 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.00152/0.00152, allocations: 168 kB / 22.46 MB, free: 5.379 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.468/1.468, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.909/2.909, allocations: 389 MB / 0.633 GB, free: 0.9688 MB / 0.5919 GB " [Timeout remaining time 176] 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.493e-06/1.493e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.063e-05, allocations: 10.22 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002884/0.002915, allocations: 1.564 MB / 1.002 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.004493, allocations: 0.8644 MB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.004568, allocations: 4 kB / 1.002 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.004837, allocations: 55.62 kB / 1.003 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000503/0.00534, allocations: 151.2 kB / 1.003 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.415e-05/0.005384, allocations: 11.92 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000547/0.005931, allocations: 386.1 kB / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.005984, allocations: 12.94 kB / 1.003 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.006346, allocations: 203.4 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.006565, allocations: 127.7 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.006606, allocations: 16 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.899e-05/0.006665, allocations: 16 kB / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.006747, allocations: 47.72 kB / 1.003 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.006869, allocations: 79.78 kB / 1.004 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.007209, allocations: 275.1 kB / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.007212, allocations: 0 / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007213, allocations: 0 / 1.004 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.007219, allocations: 0 / 1.004 GB, free: 3.496 MB / 0.9512 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.001099/0.008318, allocations: 0.5627 MB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.008353, allocations: 8.031 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.00842, allocations: 40.64 kB / 1.004 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.008964, allocations: 336 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.00898, allocations: 4.375 kB / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.009001, allocations: 4.312 kB / 1.005 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.009176, allocations: 97.64 kB / 1.005 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.009184, allocations: 192 / 1.005 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.009195, allocations: 384 / 1.005 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.009202, allocations: 3.938 kB / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.009335, allocations: 71.86 kB / 1.005 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.009736, allocations: 263.9 kB / 1.005 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.009887, allocations: 110.4 kB / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.997e-05/0.009987, allocations: 67.39 kB / 1.005 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.01001, allocations: 0 / 1.005 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.01004, allocations: 38.56 kB / 1.005 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.01004, allocations: 3.938 kB / 1.005 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0003734/0.01041, allocations: 185.2 kB / 1.006 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.0105, allocations: 132.5 kB / 1.006 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006844/0.01118, allocations: 0.5132 MB / 1.006 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.0112, allocations: 33.7 kB / 1.006 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.01134, allocations: 160.6 kB / 1.006 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.01138, allocations: 19.88 kB / 1.006 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.01143, allocations: 21.66 kB / 1.006 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.01161, allocations: 342.8 kB / 1.007 GB, free: 280 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.01168, allocations: 39.89 kB / 1.007 GB, free: 240 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.01176, allocations: 63.38 kB / 1.007 GB, free: 164 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.01192, allocations: 107.3 kB / 1.007 GB, free: 44 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.01193, allocations: 4 kB / 1.007 GB, free: 40 kB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002525/0.01218, allocations: 141.4 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.0122, allocations: 6.344 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.0122, allocations: 7.984 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.01222, allocations: 0 / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.01233, allocations: 8 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.01234, allocations: 7.922 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.01248, allocations: 15.98 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.01249, allocations: 3.938 kB / 1.007 GB, free: 15.85 MB / 0.9669 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.000187/0.01268, allocations: 182.2 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.01274, allocations: 39.89 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.01309, allocations: 179.7 kB / 1.007 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.0131, allocations: 0 / 1.007 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.532e-05/0.01312, allocations: 7.938 kB / 1.007 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01312, allocations: 0 / 1.007 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.0134, allocations: 225.1 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.0134, allocations: 0 / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.574e-05/0.0135, allocations: 19.92 kB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.0135, allocations: 4.125 kB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01351, allocations: 4 kB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01352, allocations: 0 / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.01352, allocations: 4 kB / 1.008 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.01382, allocations: 195.3 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.01396, allocations: 67.73 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.01401, allocations: 0 / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.01415, allocations: 11.98 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.01419, allocations: 11.92 kB / 1.008 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.0142, allocations: 4 kB / 1.008 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005174/0.01471, allocations: 391 kB / 1.008 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01471, allocations: 4 kB / 1.008 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000264/0.01498, allocations: 43.94 kB / 1.008 GB, free: 14.41 MB / 0.9669 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.0001399/0.01512, allocations: 99.23 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002058/0.01532, allocations: 87.86 kB / 1.009 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01533, allocations: 0 / 1.009 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.0154, allocations: 47.91 kB / 1.009 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.0158, allocations: 62.12 kB / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.01686, allocations: 0.584 MB / 1.009 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.01708, allocations: 203.5 kB / 1.009 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.01721, allocations: 58.25 kB / 1.01 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.627e-05/0.01731, allocations: 24.48 kB / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.01731, allocations: 0 / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of Templates: time 0.008859/0.02617, allocations: 3.829 MB / 1.013 GB, free: 9.473 MB / 0.9669 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: 8.341495215892792]