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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009193, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009174/0.0009176, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.833/2.833, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.000385, allocations: 8.625 kB / 0.9021 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.363, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003159/0.3662, allocations: 1.263 MB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.3688, allocations: 0.8457 MB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3689, allocations: 0 / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.3693, allocations: 47.72 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006413/0.37, allocations: 127.5 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.462e-05/0.37, allocations: 7.938 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.3707, allocations: 322.3 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.3709, allocations: 48.73 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.3712, allocations: 119.4 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.3716, allocations: 139.3 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.3717, allocations: 8 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.3768, allocations: 0.4914 MB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3769, allocations: 39.77 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3771, allocations: 73.58 kB / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008124/0.3779, allocations: 439.4 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3779, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3779, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3779, allocations: 0 / 1.062 GB, free: 1.363 MB / 0.8106 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.001994/0.38, allocations: 0.607 MB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.38, allocations: 8.031 kB / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3801, allocations: 31.62 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008456/0.381, allocations: 357.3 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.3811, allocations: 12 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.3811, allocations: 11.89 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.3814, allocations: 89.08 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3814, allocations: 3.984 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.3815, allocations: 4 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.3815, allocations: 0 / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.3817, allocations: 75.86 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007895/0.3825, allocations: 356 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3828, allocations: 98.41 kB / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.3829, allocations: 71.39 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.383, allocations: 3.953 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.383, allocations: 34.56 kB / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.023e-06/0.3831, allocations: 0 / 1.064 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0006307/0.3837, allocations: 193.5 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.3838, allocations: 128.5 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3849, allocations: 0.5013 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.385, allocations: 29.7 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.3852, allocations: 156.4 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.3852, allocations: 15.75 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.3853, allocations: 4 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002633/0.3855, allocations: 342.8 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.3859, allocations: 127.9 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.3863, allocations: 180.3 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.3867, allocations: 120 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3867, allocations: 4 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008619/0.3876, allocations: 336.9 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.3876, allocations: 8 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3877, allocations: 3.984 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.3877, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.388, allocations: 19.98 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.388, allocations: 3.984 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.3883, allocations: 23.83 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.3884, allocations: 8 kB / 1.066 GB, free: 13.13 MB / 0.8262 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003512/0.3887, allocations: 181.7 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.3888, allocations: 39.58 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.3894, allocations: 175.7 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3894, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.3895, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.3895, allocations: 11.92 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.39, allocations: 293.3 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.39, allocations: 4.125 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.3902, allocations: 12 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.3902, allocations: 3.953 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.3902, allocations: 8 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3902, allocations: 3.984 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3902, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.3907, allocations: 191.2 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.3909, allocations: 132.6 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.391, allocations: 15.88 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.3913, allocations: 7.984 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.3913, allocations: 4.234 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3914, allocations: 8 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007939/0.3922, allocations: 375 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3922, allocations: 4 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007238/0.3929, allocations: 103.9 kB / 1.067 GB, free: 11.48 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005573/0.3935, allocations: 131.2 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006157/0.3941, allocations: 195.7 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3942, allocations: 0 / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.3944, allocations: 48.09 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.3951, allocations: 57.41 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3967, allocations: 0.664 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.3974, allocations: 0.8185 MB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003342/0.3977, allocations: 46.28 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3978, allocations: 19.44 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of SimCode: time 7.32e-07/0.3979, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of Templates: time 0.02139/0.4193, allocations: 6.424 MB / 1.075 GB, free: 3.082 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) 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) Reference file matches