Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001402/0.001402, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.001389/0.001389, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8797/0.881, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002632/0.8837, allocations: 1.579 MB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.8851, allocations: 0.9113 MB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.041e-05/0.8852, allocations: 5.375 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.8855, allocations: 64.83 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005099/0.886, allocations: 151.2 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.409e-05/0.8861, allocations: 11.41 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.8866, allocations: 378.5 kB / 1.092 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.8867, allocations: 43.23 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.8869, allocations: 145.5 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.8871, allocations: 137.5 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.8872, allocations: 15.34 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.554e-05/0.8872, allocations: 14.84 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.8873, allocations: 51.39 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.8875, allocations: 134.9 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.8879, allocations: 287.4 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8879, allocations: 0.8125 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8879, allocations: 0 / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.8879, allocations: 5.094 kB / 1.092 GB, free: 3.113 MB / 0.8575 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.001082/0.889, allocations: 0.6192 MB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.889, allocations: 9.594 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.8891, allocations: 31.98 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.8896, allocations: 389.3 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.8897, allocations: 9.094 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.8897, allocations: 5.781 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.8899, allocations: 96.45 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.8899, allocations: 1.484 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.8899, allocations: 0.875 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.8899, allocations: 4.75 kB / 1.094 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.89, allocations: 71.39 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.8905, allocations: 353 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.8906, allocations: 110.4 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.279e-05/0.8907, allocations: 62.06 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.8907, allocations: 5.719 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.8908, allocations: 37.17 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.8908, allocations: 7.984 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000377/0.8911, allocations: 186.7 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.8912, allocations: 134.3 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.8919, allocations: 0.5108 MB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.8919, allocations: 26.55 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.892, allocations: 164.4 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.8921, allocations: 15.69 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.8921, allocations: 29.44 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.8922, allocations: 345.5 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.8923, allocations: 35.44 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.8924, allocations: 56.97 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.8925, allocations: 104 kB / 1.096 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8925, allocations: 0 / 1.096 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002501/0.8928, allocations: 147 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.8928, allocations: 9.344 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8928, allocations: 2 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.8929, allocations: 1.422 kB / 1.096 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.893, allocations: 14.86 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.893, allocations: 2.016 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.8932, allocations: 9.672 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.8932, allocations: 3.641 kB / 1.096 GB, free: 0.5273 MB / 0.8575 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.0001623/0.8934, allocations: 178.8 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.8934, allocations: 34.98 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.8938, allocations: 185.4 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.8938, allocations: 1.719 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8938, allocations: 0.7812 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.8938, allocations: 2.078 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.8942, allocations: 308.9 kB / 1.097 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8942, allocations: 0.7188 kB / 1.097 GB, free: 52 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.8943, allocations: 18.98 kB / 1.097 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.8943, allocations: 10.12 kB / 1.097 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.8943, allocations: 1.75 kB / 1.097 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.8943, allocations: 2.062 kB / 1.097 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8943, allocations: 5.438 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.8947, allocations: 189.7 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.8948, allocations: 140 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.8949, allocations: 2.781 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.895, allocations: 14.48 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.8951, allocations: 9.516 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.8951, allocations: 3.062 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005857/0.8957, allocations: 396.8 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.603e-06/0.8957, allocations: 0 / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002825/0.896, allocations: 40.25 kB / 1.097 GB, free: 15.59 MB / 0.8731 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.0001482/0.8961, allocations: 103.8 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.8964, allocations: 91.47 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8964, allocations: 0 / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.143e-05/0.8965, allocations: 46.86 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.8969, allocations: 79.45 kB / 1.098 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.8981, allocations: 0.594 MB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.8986, allocations: 0.8119 MB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.336e-05/0.8987, allocations: 21.45 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/0.8987, allocations: 0 / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of Templates: time 0.0084/0.9071, allocations: 3.72 MB / 1.103 GB, free: 14.04 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches