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.001808/0.001808, allocations: 113.8 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.002221/0.002221, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.065/3.065, allocations: 0.49 GB / 0.7959 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_12_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.001931/0.001931, allocations: 66.12 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3045, allocations: 176.1 MB / 1.327 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002878/0.3074, allocations: 1.612 MB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3089, allocations: 0.9622 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.3089, allocations: 4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.3092, allocations: 63.66 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.3096, allocations: 143.3 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.403e-05/0.3097, allocations: 7.984 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.3101, allocations: 378.2 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.3102, allocations: 12.73 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.3104, allocations: 167.3 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.3106, allocations: 135.3 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.3106, allocations: 16 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.585e-05/0.3107, allocations: 12 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.3108, allocations: 55.7 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3109, allocations: 131.2 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.3112, allocations: 286.8 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3112, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3112, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3112, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 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.001112/0.3123, allocations: 0.5758 MB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3124, allocations: 12.03 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.487e-05/0.3124, allocations: 192 / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.3124, allocations: 34.75 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.3125, allocations: 32.75 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.313, allocations: 332.7 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-06/0.313, allocations: 4.375 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.313, allocations: 384 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3131, allocations: 101 kB / 1.332 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.3131, allocations: 4 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3132, allocations: 4 kB / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3132, allocations: 0 / 1.332 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3133, allocations: 67.86 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.3137, allocations: 323.2 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3138, allocations: 114.4 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.3139, allocations: 55.47 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3139, allocations: 3.938 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3139, allocations: 46.48 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3139, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003316/0.3142, allocations: 185.2 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.3143, allocations: 132.5 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.3149, allocations: 0.5093 MB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3149, allocations: 30.2 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3151, allocations: 172 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.3151, allocations: 11.91 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3151, allocations: 21.7 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3153, allocations: 342.8 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.3154, allocations: 27.97 kB / 1.334 GB, free: 10.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.3154, allocations: 59.39 kB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.3156, allocations: 107.3 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.3156, allocations: 0 / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002231/0.3158, allocations: 153.2 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3158, allocations: 4 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3158, allocations: 8.062 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3158, allocations: 4 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.316, allocations: 15.98 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.316, allocations: 0 / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.3161, allocations: 15.92 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3161, allocations: 0 / 1.334 GB, free: 10.31 MB / 1.029 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.0001652/0.3163, allocations: 177.8 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.3163, allocations: 35.7 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.3167, allocations: 195.7 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3167, allocations: 4 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3167, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3167, allocations: 4 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.317, allocations: 276.5 kB / 1.335 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.317, allocations: 7.922 kB / 1.335 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.3171, allocations: 12 kB / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3171, allocations: 0 / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3171, allocations: 11.94 kB / 1.335 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3171, allocations: 4.125 kB / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3171, allocations: 4 kB / 1.335 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.3173, allocations: 183.4 kB / 1.335 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.3175, allocations: 71.61 kB / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.3175, allocations: 4 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3177, allocations: 11.98 kB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.3177, allocations: 15.92 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3177, allocations: 0 / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004454/0.3181, allocations: 395 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3181, allocations: 3.938 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000249/0.3184, allocations: 44 kB / 1.335 GB, free: 8.789 MB / 1.029 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.0005348/0.3189, allocations: 0.7357 MB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.3191, allocations: 88.02 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3191, allocations: 256 / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.3192, allocations: 47.91 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.3195, allocations: 71.52 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.3234, allocations: 3.179 MB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3239, allocations: 0.8143 MB / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.324, allocations: 50.25 kB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3241, allocations: 83.41 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3241, allocations: 0 / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.3515, allocations: 6.825 MB / 1.347 GB, free: 12.92 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.05, allocations: 4.469 kB / 1.347 GB, free: 12.92 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.55018540698802]