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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 497.2 MB / 0.7812 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.91 kB / 1.134 GB, free: 13.24 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8921, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002221/0.8943, allocations: 1.588 MB / 1.305 GB, free: 31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.8954, allocations: 0.9209 MB / 1.306 GB, free: 30.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.8955, allocations: 3.156 kB / 1.306 GB, free: 30.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.8957, allocations: 65.58 kB / 1.306 GB, free: 30.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.8961, allocations: 146.9 kB / 1.307 GB, free: 30.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.97e-05/0.8961, allocations: 10.48 kB / 1.307 GB, free: 30.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.8964, allocations: 368.1 kB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.775e-05/0.8965, allocations: 25.12 kB / 1.307 GB, free: 30.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.8967, allocations: 153.2 kB / 1.307 GB, free: 29.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.8968, allocations: 138 kB / 1.307 GB, free: 29.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.8968, allocations: 13.97 kB / 1.307 GB, free: 29.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.48e-05/0.8969, allocations: 16.97 kB / 1.307 GB, free: 29.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.8969, allocations: 46.45 kB / 1.307 GB, free: 29.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.742e-05/0.897, allocations: 135 kB / 1.307 GB, free: 29.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.8972, allocations: 294.7 kB / 1.308 GB, free: 29.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8972, allocations: 0 / 1.308 GB, free: 29.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.8972, allocations: 0 / 1.308 GB, free: 29.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.8973, allocations: 4 kB / 1.308 GB, free: 29.7 MB / 1.061 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.0009276/0.8982, allocations: 0.6277 MB / 1.308 GB, free: 29.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.8982, allocations: 11.25 kB / 1.308 GB, free: 29.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.8982, allocations: 30.75 kB / 1.308 GB, free: 29.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.8983, allocations: 38.48 kB / 1.308 GB, free: 29.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.8987, allocations: 396.5 kB / 1.309 GB, free: 28.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.8987, allocations: 384 / 1.309 GB, free: 28.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.8987, allocations: 3.375 kB / 1.309 GB, free: 28.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.8988, allocations: 105.5 kB / 1.309 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.8989, allocations: 0 / 1.309 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.8989, allocations: 6.875 kB / 1.309 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.8989, allocations: 0 / 1.309 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.985e-05/0.899, allocations: 64.56 kB / 1.309 GB, free: 28.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.8992, allocations: 349 kB / 1.309 GB, free: 28.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.903e-05/0.8993, allocations: 110.7 kB / 1.309 GB, free: 28.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.8994, allocations: 62.06 kB / 1.309 GB, free: 28.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.8994, allocations: 0 / 1.309 GB, free: 28.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.8994, allocations: 44.44 kB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.8994, allocations: 4 kB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002771/0.8997, allocations: 188.7 kB / 1.31 GB, free: 28.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.8997, allocations: 131.3 kB / 1.31 GB, free: 28.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.9002, allocations: 0.5145 MB / 1.31 GB, free: 27.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.9002, allocations: 25.7 kB / 1.31 GB, free: 27.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.9003, allocations: 167.4 kB / 1.311 GB, free: 27.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.9003, allocations: 11.89 kB / 1.311 GB, free: 27.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.9003, allocations: 26.94 kB / 1.311 GB, free: 27.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.9004, allocations: 341.1 kB / 1.311 GB, free: 27.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.9004, allocations: 35.55 kB / 1.311 GB, free: 27.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.9005, allocations: 62.12 kB / 1.311 GB, free: 27.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.9006, allocations: 108.5 kB / 1.311 GB, free: 27.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9006, allocations: 0 / 1.311 GB, free: 27.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001662/0.9008, allocations: 150.4 kB / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.9008, allocations: 5.625 kB / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.9008, allocations: 0 / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9008, allocations: 2.719 kB / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.9009, allocations: 15.19 kB / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.9009, allocations: 0 / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.901, allocations: 11.72 kB / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.901, allocations: 2.906 kB / 1.311 GB, free: 27.07 MB / 1.061 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.0001164/0.9012, allocations: 180.3 kB / 1.311 GB, free: 26.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.9012, allocations: 38.3 kB / 1.311 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.9015, allocations: 185.8 kB / 1.312 GB, free: 26.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.9015, allocations: 0 / 1.312 GB, free: 26.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9015, allocations: 2.875 kB / 1.312 GB, free: 26.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.9015, allocations: 0 / 1.312 GB, free: 26.83 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.9017, allocations: 312.8 kB / 1.312 GB, free: 26.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9017, allocations: 0 / 1.312 GB, free: 26.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.9018, allocations: 24.47 kB / 1.312 GB, free: 26.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9018, allocations: 2.5 kB / 1.312 GB, free: 26.58 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.9018, allocations: 4 kB / 1.312 GB, free: 26.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.9018, allocations: 2.531 kB / 1.312 GB, free: 26.57 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9018, allocations: 128 / 1.312 GB, free: 26.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.902, allocations: 196.5 kB / 1.312 GB, free: 26.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.9022, allocations: 142.9 kB / 1.312 GB, free: 26.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.9022, allocations: 7.891 kB / 1.312 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.9023, allocations: 11.12 kB / 1.312 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.9024, allocations: 14.16 kB / 1.312 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.9024, allocations: 6.75 kB / 1.312 GB, free: 26.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003453/0.9027, allocations: 394.8 kB / 1.313 GB, free: 26.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9027, allocations: 0 / 1.313 GB, free: 26.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002352/0.9029, allocations: 39.88 kB / 1.313 GB, free: 26.12 MB / 1.061 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.0003622/0.9033, allocations: 0.7369 MB / 1.313 GB, free: 25.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.9035, allocations: 82.98 kB / 1.314 GB, free: 25.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9035, allocations: 0 / 1.314 GB, free: 25.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.764e-05/0.9035, allocations: 47.77 kB / 1.314 GB, free: 25.42 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.9039, allocations: 56.11 kB / 1.314 GB, free: 25.4 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/0.9069, allocations: 3.189 MB / 1.317 GB, free: 23.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.9072, allocations: 0.826 MB / 1.318 GB, free: 22.85 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.9073, allocations: 49.06 kB / 1.318 GB, free: 22.84 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.9074, allocations: 86.52 kB / 1.318 GB, free: 22.79 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9074, allocations: 0 / 1.318 GB, free: 22.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.9427, allocations: 6.682 MB / 1.324 GB, free: 22.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.495/9.438, allocations: 18.72 kB / 1.324 GB, free: 22.14 MB / 1.061 GB " [Timeout remaining time 290] (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_2/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: 15.577552111353725]