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.01037/0.01037, allocations: 102.1 kB / 15.73 MB, free: 6.008 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.001988/0.001988, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 62.53 kB / 0.9508 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2946, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002787/0.2974, allocations: 1.586 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2988, allocations: 0.9164 MB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.2989, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.2992, allocations: 59.66 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.2997, allocations: 147.3 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.185e-05/0.2998, allocations: 23.92 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.3002, allocations: 374.2 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.036e-05/0.3003, allocations: 40.75 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.3005, allocations: 147.3 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.3008, allocations: 135.4 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.3008, allocations: 16 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-05/0.3009, allocations: 16 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.3009, allocations: 51.7 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.3011, allocations: 131.2 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.3014, allocations: 283 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3014, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3014, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.3014, allocations: 0 / 1.092 GB, free: 13.61 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.001141/0.3026, allocations: 0.634 MB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3026, allocations: 8.031 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.3027, allocations: 32.56 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.3032, allocations: 390.2 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3032, allocations: 4.312 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3033, allocations: 4.375 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3034, allocations: 105.4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3034, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3035, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.3035, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.3036, allocations: 71.86 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.304, allocations: 352.1 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.3041, allocations: 110.3 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.3042, allocations: 55.47 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3042, allocations: 7.984 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3043, allocations: 42.5 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3043, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003547/0.3046, allocations: 185 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.3047, allocations: 133 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.3053, allocations: 0.5171 MB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3053, allocations: 29.7 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3054, allocations: 160.1 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.3054, allocations: 11.84 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.3055, allocations: 25.61 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3056, allocations: 342.8 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.3057, allocations: 31.95 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.3058, allocations: 59.41 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3059, allocations: 103.3 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3059, allocations: 0 / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002088/0.3061, allocations: 149.2 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3062, allocations: 11.97 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3062, allocations: 0 / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3062, allocations: 4 kB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3063, allocations: 15.98 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.3063, allocations: 3.938 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3065, allocations: 15.92 kB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3065, allocations: 7.984 kB / 1.095 GB, free: 9.711 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.0001478/0.3066, allocations: 173.7 kB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.3067, allocations: 39.55 kB / 1.095 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.307, allocations: 183.8 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.307, allocations: 4 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.307, allocations: 0 / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.307, allocations: 0 / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.3073, allocations: 313.4 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3073, allocations: 0 / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.588e-05/0.3074, allocations: 12 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.3074, allocations: 12.05 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3074, allocations: 4 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3074, allocations: 0 / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3075, allocations: 0 / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.3077, allocations: 191.2 kB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.3079, allocations: 148.5 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.3079, allocations: 0 / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.3081, allocations: 11.98 kB / 1.096 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.3081, allocations: 8 kB / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.3081, allocations: 0 / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004694/0.3086, allocations: 395 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3086, allocations: 0 / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002527/0.3089, allocations: 44 kB / 1.097 GB, free: 8.09 MB / 0.8575 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.0001014/0.309, allocations: 103.2 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3092, allocations: 83.86 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3092, allocations: 0 / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.485e-05/0.3093, allocations: 51.89 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3097, allocations: 73.98 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009984/0.3107, allocations: 0.578 MB / 1.098 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.3111, allocations: 0.8221 MB / 1.098 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.3113, allocations: 46.27 kB / 1.098 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.3113, allocations: 23.44 kB / 1.098 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.3114, allocations: 3.938 kB / 1.098 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of Templates: time 0.008238/0.3196, allocations: 3.588 MB / 1.102 GB, free: 2.707 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches