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.001591/0.001592, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002307/0.002307, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.682/2.682, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 71.88 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.6202, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002857/0.623, allocations: 1.569 MB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.6245, allocations: 0.9112 MB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.108e-05/0.6246, allocations: 4 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.6248, allocations: 71.64 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.6253, allocations: 147.3 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.424e-05/0.6253, allocations: 11.97 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.6257, allocations: 366.3 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.6258, allocations: 48.73 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.626, allocations: 139.4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.6262, allocations: 131.4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.6262, allocations: 16 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.708e-05/0.6263, allocations: 16 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.6264, allocations: 55.69 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.6265, allocations: 127.3 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.6268, allocations: 288.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.6268, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6268, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.6268, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 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.001133/0.628, allocations: 0.6184 MB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.628, allocations: 12.03 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.6281, allocations: 32.56 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.6286, allocations: 394.2 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.6286, allocations: 4.312 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.6286, allocations: 4.375 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.6288, allocations: 105.3 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6289, allocations: 3.984 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.6289, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6289, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.629, allocations: 71.88 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.6294, allocations: 348.1 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.6295, allocations: 110.4 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.6296, allocations: 55.47 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.6297, allocations: 8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.6297, allocations: 42.42 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.6297, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003457/0.63, allocations: 181.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.6301, allocations: 132.5 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/0.6307, allocations: 0.5171 MB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.6308, allocations: 29.7 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.6309, allocations: 156.1 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.6309, allocations: 20.25 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.631, allocations: 25.7 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6311, allocations: 342.8 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.6312, allocations: 39.95 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.6312, allocations: 55.41 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.6314, allocations: 103.3 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6314, allocations: 0 / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001991/0.6316, allocations: 149.2 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6316, allocations: 10.12 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.6316, allocations: 3.938 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6316, allocations: 4 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.6317, allocations: 7.984 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6318, allocations: 8.125 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.6319, allocations: 7.984 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.6319, allocations: 7.984 kB / 1.025 GB, free: 10.76 MB / 0.7794 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.000147/0.6321, allocations: 169.8 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.6321, allocations: 43.41 kB / 1.025 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.6325, allocations: 187.7 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.6325, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.6325, allocations: 4 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6325, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.6328, allocations: 313.3 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6328, allocations: 4 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.513e-05/0.6329, allocations: 12 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.6329, allocations: 7.969 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6329, allocations: 4 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.6329, allocations: 11.92 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6329, allocations: 8.109 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.6331, allocations: 179.3 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.6333, allocations: 140.6 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.6333, allocations: 3.906 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.6335, allocations: 15.98 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.6335, allocations: 11.94 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.6335, allocations: 0 / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004396/0.634, allocations: 399 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.634, allocations: 0 / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000248/0.6342, allocations: 36 kB / 1.026 GB, free: 9.133 MB / 0.7794 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.000107/0.6343, allocations: 99.25 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.6345, allocations: 95.86 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6345, allocations: 0 / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.6346, allocations: 47.91 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.635, allocations: 77.95 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/0.6359, allocations: 0.577 MB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.6363, allocations: 0.8182 MB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.6364, allocations: 54.25 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.6365, allocations: 23.44 kB / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.6365, allocations: 0 / 1.028 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of Templates: time 0.007216/0.6438, allocations: 3.571 MB / 1.031 GB, free: 3.762 MB / 0.7794 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