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.004804/0.004807, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.001051/0.001051, allocations: 193.1 kB / 16.67 MB, free: 5.961 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.332/1.332, 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.56/2.56, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.02 kB / 0.9508 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2856, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002522/0.2882, allocations: 1.589 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2895, allocations: 0.9165 MB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.2896, allocations: 7.938 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.2899, allocations: 59.66 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.2903, allocations: 151.2 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.624e-05/0.2904, allocations: 15.98 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003885/0.2908, allocations: 377.2 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.201e-05/0.2909, allocations: 40.75 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.2911, allocations: 147.3 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2913, allocations: 131.4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.2913, allocations: 16 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.606e-05/0.2914, allocations: 16 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.2915, allocations: 51.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.2916, allocations: 131.2 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.2919, allocations: 283 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2919, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2919, allocations: 3.938 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.2919, allocations: 0 / 1.092 GB, free: 13.63 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.001043/0.293, allocations: 0.634 MB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.293, allocations: 12.03 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.2931, allocations: 28.56 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.2936, allocations: 390.2 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.2936, allocations: 4.375 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.2936, allocations: 384 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.2938, allocations: 101.4 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2938, allocations: 3.938 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2938, allocations: 3.984 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2938, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.2939, allocations: 63.88 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.2943, allocations: 348.1 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.2944, allocations: 114.5 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/0.2945, allocations: 59.39 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.2945, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.2945, allocations: 50.42 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.2945, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003228/0.2949, allocations: 181 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.2949, allocations: 132.5 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.2955, allocations: 0.5098 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.2955, allocations: 29.7 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2956, allocations: 168.1 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.2957, allocations: 11.89 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.2957, allocations: 25.61 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2958, allocations: 338.8 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.2959, allocations: 35.95 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.296, allocations: 59.34 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.2961, allocations: 107.3 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2961, allocations: 0 / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002078/0.2963, allocations: 145.2 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2964, allocations: 9.625 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2964, allocations: 8 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.2964, allocations: 0 / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2965, allocations: 15.92 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.2966, allocations: 3.938 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2967, allocations: 15.98 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2967, allocations: 3.984 kB / 1.095 GB, free: 9.742 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.0001743/0.2969, allocations: 177.7 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.297, allocations: 35.56 kB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.2973, allocations: 187.7 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2973, allocations: 4 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2973, allocations: 0 / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2973, allocations: 0 / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.2976, allocations: 309.4 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2976, allocations: 0 / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.2977, allocations: 12 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2978, allocations: 3.938 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.2978, allocations: 8.125 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.2978, allocations: 7.922 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2978, allocations: 0 / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.298, allocations: 183.3 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.2982, allocations: 148.5 kB / 1.096 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.2983, allocations: 11.98 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.2984, allocations: 7.984 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.2984, allocations: 7.938 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2985, allocations: 8 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004173/0.2989, allocations: 395 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2989, allocations: 0 / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002449/0.2991, allocations: 36 kB / 1.097 GB, free: 8.117 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.0001061/0.2993, allocations: 103.2 kB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.2994, allocations: 87.86 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2994, allocations: 0 / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.059e-05/0.2995, allocations: 43.91 kB / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.2999, allocations: 81.91 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/0.3008, allocations: 0.577 MB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3012, allocations: 0.8143 MB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.3013, allocations: 50.27 kB / 1.098 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.3014, allocations: 19.44 kB / 1.098 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3014, allocations: 7.938 kB / 1.098 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of Templates: time 0.006812/0.3082, allocations: 3.668 MB / 1.102 GB, free: 2.652 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