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.001282/0.001282, allocations: 109.9 kB / 16.41 MB, free: 6.5 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.001297/0.001297, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.365/1.365, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.993/2.993, allocations: 489 MB / 0.7678 GB, free: 29.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.003031/0.003031, allocations: 71.88 kB / 1.101 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8374/0.8404, allocations: 163.8 MB / 1.261 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002829/0.8433, allocations: 1.582 MB / 1.263 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.8449, allocations: 0.9112 MB / 1.263 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.8449, allocations: 4 kB / 1.263 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.8452, allocations: 59.66 kB / 1.263 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004548/0.8457, allocations: 143.3 kB / 1.264 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.552e-05/0.8457, allocations: 11.98 kB / 1.264 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.8462, allocations: 374.2 kB / 1.264 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.981e-05/0.8463, allocations: 48.73 kB / 1.264 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.8465, allocations: 131.4 kB / 1.264 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.8467, allocations: 143.3 kB / 1.264 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.8468, allocations: 20 kB / 1.264 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.434e-05/0.8468, allocations: 12 kB / 1.264 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.792e-05/0.8469, allocations: 55.7 kB / 1.264 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.8471, allocations: 119.3 kB / 1.265 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.8474, allocations: 293.5 kB / 1.265 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8474, allocations: 3.938 kB / 1.265 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8474, allocations: 0 / 1.265 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.8474, allocations: 0 / 1.265 GB, free: 3.25 MB / 0.9669 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.001098/0.8485, allocations: 0.638 MB / 1.265 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.8486, allocations: 8.031 kB / 1.265 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.8486, allocations: 30.75 kB / 1.265 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.8487, allocations: 32.75 kB / 1.265 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.8492, allocations: 398.5 kB / 1.266 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.8492, allocations: 384 / 1.266 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.8493, allocations: 8.375 kB / 1.266 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.8494, allocations: 97.2 kB / 1.266 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.8494, allocations: 0 / 1.266 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.8495, allocations: 7.922 kB / 1.266 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8495, allocations: 0 / 1.266 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.8496, allocations: 67.88 kB / 1.266 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.85, allocations: 356.1 kB / 1.266 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.8501, allocations: 110.3 kB / 1.266 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.784e-05/0.8502, allocations: 63.47 kB / 1.267 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.8503, allocations: 0 / 1.267 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.8503, allocations: 42.48 kB / 1.267 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.8503, allocations: 0 / 1.267 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003656/0.8507, allocations: 185.7 kB / 1.267 GB, free: 1 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.8508, allocations: 136.6 kB / 1.267 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006119/0.8514, allocations: 0.5132 MB / 1.267 GB, free: 320 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.8514, allocations: 33.69 kB / 1.267 GB, free: 280 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.8516, allocations: 164.1 kB / 1.268 GB, free: 112 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.8516, allocations: 15.84 kB / 1.268 GB, free: 96 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.8516, allocations: 21.7 kB / 1.268 GB, free: 68 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.8518, allocations: 342.8 kB / 1.268 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.8519, allocations: 35.95 kB / 1.268 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.852, allocations: 55.41 kB / 1.268 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.8521, allocations: 103.3 kB / 1.268 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8521, allocations: 8 kB / 1.268 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002165/0.8524, allocations: 153.2 kB / 1.268 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8524, allocations: 4 kB / 1.268 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8524, allocations: 0 / 1.268 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8524, allocations: 4 kB / 1.268 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.8525, allocations: 15.98 kB / 1.268 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8525, allocations: 3.938 kB / 1.268 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.8527, allocations: 7.984 kB / 1.268 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.8527, allocations: 8.109 kB / 1.268 GB, free: 15.3 MB / 0.9825 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.0001654/0.8529, allocations: 173.8 kB / 1.268 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.8529, allocations: 39.69 kB / 1.269 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.8533, allocations: 187.7 kB / 1.269 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.8533, allocations: 4 kB / 1.269 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8533, allocations: 0 / 1.269 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.8533, allocations: 128 / 1.269 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.8536, allocations: 317.3 kB / 1.269 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8536, allocations: 0 / 1.269 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.8537, allocations: 15.94 kB / 1.269 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.8537, allocations: 0 / 1.269 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.8537, allocations: 4 kB / 1.269 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.8537, allocations: 3.984 kB / 1.269 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8538, allocations: 0 / 1.269 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.854, allocations: 199.3 kB / 1.269 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.8542, allocations: 140.8 kB / 1.269 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.8542, allocations: 7.984 kB / 1.269 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.8544, allocations: 7.984 kB / 1.269 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.8544, allocations: 8 kB / 1.269 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.8544, allocations: 4 kB / 1.269 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004583/0.8549, allocations: 395 kB / 1.27 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8549, allocations: 0 / 1.27 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002485/0.8551, allocations: 44 kB / 1.27 GB, free: 13.67 MB / 0.9825 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.0005547/0.8557, allocations: 0.7279 MB / 1.271 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.8559, allocations: 84.02 kB / 1.271 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8559, allocations: 0 / 1.271 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.856, allocations: 51.91 kB / 1.271 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.8563, allocations: 74.03 kB / 1.271 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.8601, allocations: 3.171 MB / 1.274 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.8606, allocations: 0.8221 MB / 1.275 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.8607, allocations: 50.27 kB / 1.275 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.8609, allocations: 79.41 kB / 1.275 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.8609, allocations: 0 / 1.275 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.8883, allocations: 6.659 MB / 1.281 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.986, allocations: 20.17 kB / 1.281 GB, free: 1.996 MB / 0.9825 GB " [Timeout remaining time 291] (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: 14.727476377040148]