Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008/0.008, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.001843/0.001843, allocations: 195.8 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.319, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.003468/0.3225, allocations: 1.589 MB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.3239, allocations: 0.919 MB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.324, allocations: 0 / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.3243, allocations: 59.66 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.3249, allocations: 147.3 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.207e-05/0.325, allocations: 11.97 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.3254, allocations: 366.4 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.3255, allocations: 52.73 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.3258, allocations: 143.3 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.326, allocations: 131.4 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/0.3261, allocations: 23.88 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.04e-05/0.3261, allocations: 16 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.3262, allocations: 47.81 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3264, allocations: 131.2 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.3267, allocations: 294.6 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3267, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3267, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3267, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 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.001144/0.3279, allocations: 0.6457 MB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3279, allocations: 8.031 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.328, allocations: 32.75 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006152/0.3286, allocations: 390.6 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3286, allocations: 384 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3286, allocations: 4.375 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.3288, allocations: 105.3 kB / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3288, allocations: 0 / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3288, allocations: 0 / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3289, allocations: 0 / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.329, allocations: 75.86 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.3294, allocations: 348.1 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.3295, allocations: 106.4 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3296, allocations: 59.45 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3297, allocations: 4 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3297, allocations: 46.44 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.3297, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003687/0.3301, allocations: 185.2 kB / 1.172 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.3302, allocations: 136.5 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006244/0.3308, allocations: 0.5137 MB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3308, allocations: 29.7 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.331, allocations: 168 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.331, allocations: 11.91 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.3311, allocations: 21.7 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3312, allocations: 342.8 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.3312, allocations: 27.97 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.3313, allocations: 63.39 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3315, allocations: 103.3 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3315, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002228/0.3317, allocations: 153.3 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3317, allocations: 8.062 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3318, allocations: 4 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3318, allocations: 4.094 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3319, allocations: 15.97 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3319, allocations: 0 / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.3321, allocations: 11.94 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3321, allocations: 4 kB / 1.174 GB, free: 14.99 MB / 0.9356 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.0001571/0.3322, allocations: 176.2 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.3323, allocations: 39.69 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.3326, allocations: 195.6 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3327, allocations: 4 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3327, allocations: 4 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3327, allocations: 0 / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.333, allocations: 301.5 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.333, allocations: 7.984 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.3331, allocations: 12 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.3331, allocations: 4.062 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3331, allocations: 11.94 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3331, allocations: 4 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3331, allocations: 0 / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.3334, allocations: 187.4 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.3335, allocations: 144.8 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.3336, allocations: 3.938 kB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3337, allocations: 15.97 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.3338, allocations: 15.88 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3338, allocations: 0 / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004424/0.3342, allocations: 395 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3342, allocations: 0 / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000247/0.3345, allocations: 44 kB / 1.175 GB, free: 13.36 MB / 0.9356 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 9.453e-05/0.3346, allocations: 99.25 kB / 1.175 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.3347, allocations: 83.86 kB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3348, allocations: 0 / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.054e-05/0.3348, allocations: 51.91 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3352, allocations: 73.91 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009846/0.3362, allocations: 0.5959 MB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.3366, allocations: 0.8104 MB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.3368, allocations: 58.25 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.3369, allocations: 23.44 kB / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.3369, allocations: 0 / 1.177 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.007322/0.3442, allocations: 3.586 MB / 1.181 GB, free: 7.973 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches