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.001302/0.001302, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001495/0.001495, allocations: 218 kB / 23.04 MB, free: 5.078 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.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 3.137/3.137, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 73.73 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3311, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002771/0.3338, allocations: 1.608 MB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3353, allocations: 0.9618 MB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.3354, allocations: 4 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.3356, allocations: 63.64 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004464/0.3361, allocations: 143.3 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.854e-05/0.3361, allocations: 11.94 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.3365, allocations: 378.2 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.068e-05/0.3366, allocations: 17.2 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.3369, allocations: 151.3 kB / 1.349 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3371, allocations: 135.4 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.3371, allocations: 12 kB / 1.349 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.898e-05/0.3371, allocations: 16 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.3372, allocations: 51.7 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3373, allocations: 135.2 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.3377, allocations: 294.6 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3377, allocations: 4 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3377, allocations: 3.938 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3377, allocations: 0 / 1.349 GB, free: 12.48 MB / 1.045 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.001061/0.3387, allocations: 0.5626 MB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3388, allocations: 12.03 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.701e-05/0.3388, allocations: 4.188 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.3388, allocations: 30.75 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.3389, allocations: 36.75 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.3394, allocations: 332.7 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.3394, allocations: 384 / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3394, allocations: 8.375 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3396, allocations: 104.9 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3396, allocations: 0 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3396, allocations: 0 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3396, allocations: 4 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.3397, allocations: 63.88 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.3401, allocations: 331.2 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3402, allocations: 106.4 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.3403, allocations: 67.45 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3403, allocations: 3.938 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.3403, allocations: 38.5 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3403, allocations: 0 / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003288/0.3407, allocations: 185.6 kB / 1.351 GB, free: 10.42 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.3407, allocations: 136.6 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.3413, allocations: 0.5132 MB / 1.352 GB, free: 9.734 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3414, allocations: 25.7 kB / 1.352 GB, free: 9.703 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3415, allocations: 164.1 kB / 1.352 GB, free: 9.539 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.3415, allocations: 11.91 kB / 1.352 GB, free: 9.527 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.3416, allocations: 25.64 kB / 1.352 GB, free: 9.496 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3417, allocations: 338.8 kB / 1.352 GB, free: 9.156 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/0.3418, allocations: 39.95 kB / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.3418, allocations: 55.41 kB / 1.352 GB, free: 9.051 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.342, allocations: 103.3 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.342, allocations: 4 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002243/0.3422, allocations: 153.2 kB / 1.352 GB, free: 8.777 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3422, allocations: 4 kB / 1.352 GB, free: 8.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3422, allocations: 0 / 1.352 GB, free: 8.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3422, allocations: 4 kB / 1.352 GB, free: 8.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3423, allocations: 11.98 kB / 1.353 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3424, allocations: 0 / 1.353 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.3425, allocations: 15.94 kB / 1.353 GB, free: 8.742 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3425, allocations: 7.984 kB / 1.353 GB, free: 8.734 MB / 1.045 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.0001582/0.3427, allocations: 177.8 kB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.3427, allocations: 43.67 kB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.3431, allocations: 187.7 kB / 1.353 GB, free: 8.309 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3431, allocations: 4 kB / 1.353 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3431, allocations: 0 / 1.353 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3431, allocations: 128 / 1.353 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.3434, allocations: 280.5 kB / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3434, allocations: 3.938 kB / 1.353 GB, free: 7.984 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.3435, allocations: 15.94 kB / 1.353 GB, free: 7.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3435, allocations: 0 / 1.353 GB, free: 7.969 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3435, allocations: 7.984 kB / 1.353 GB, free: 7.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3435, allocations: 0 / 1.353 GB, free: 7.961 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3435, allocations: 4 kB / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.3437, allocations: 199.4 kB / 1.353 GB, free: 7.734 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.3439, allocations: 71.62 kB / 1.353 GB, free: 7.664 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.3439, allocations: 3.984 kB / 1.353 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3441, allocations: 11.98 kB / 1.353 GB, free: 7.648 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.3441, allocations: 11.94 kB / 1.354 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.3441, allocations: 0 / 1.354 GB, free: 7.637 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004539/0.3445, allocations: 399 kB / 1.354 GB, free: 7.254 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3445, allocations: 0 / 1.354 GB, free: 7.254 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002509/0.3448, allocations: 40 kB / 1.354 GB, free: 7.215 MB / 1.045 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.000522/0.3453, allocations: 0.7317 MB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.3455, allocations: 83.86 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3455, allocations: 0 / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.869e-05/0.3456, allocations: 47.91 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3459, allocations: 66.05 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.3498, allocations: 3.172 MB / 1.358 GB, free: 2.957 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.3502, allocations: 0.8219 MB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.3503, allocations: 58.25 kB / 1.359 GB, free: 2.051 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3505, allocations: 79.41 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of SimCode: time 7.42e-07/0.3505, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.3788, allocations: 6.83 MB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.89, allocations: 13.72 kB / 1.366 GB, free: 11.36 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/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: 18.435333736008033]