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.001555/0.001555, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001872/0.001872, allocations: 189.4 kB / 16.13 MB, free: 6.645 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.509/2.509, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 71.83 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5783, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002887/0.5812, allocations: 1.645 MB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.5827, allocations: 0.9113 MB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.5828, allocations: 7.938 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.5831, allocations: 59.77 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.5836, allocations: 135.5 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.892e-05/0.5837, allocations: 3.984 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.5842, allocations: 358.3 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.5843, allocations: 52.7 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.5845, allocations: 127.4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.5848, allocations: 139.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.5848, allocations: 8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.5882, allocations: 0.6564 MB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.5883, allocations: 47.7 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.5884, allocations: 127.3 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01534/0.6038, allocations: 13.29 MB / 1.034 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6038, allocations: 0 / 1.034 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6038, allocations: 4 kB / 1.034 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.6038, allocations: 0 / 1.034 GB, free: 1.168 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.001391/0.6052, allocations: 0.6459 MB / 1.034 GB, free: 484 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6053, allocations: 8.031 kB / 1.034 GB, free: 476 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/0.6053, allocations: 32.56 kB / 1.034 GB, free: 444 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.6058, allocations: 374.3 kB / 1.035 GB, free: 28 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.6058, allocations: 4.375 kB / 1.035 GB, free: 24 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.6059, allocations: 8.375 kB / 1.035 GB, free: 16 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.606, allocations: 101.3 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.6061, allocations: 4 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.6061, allocations: 0 / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.6061, allocations: 0 / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.6062, allocations: 71.86 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.6066, allocations: 348 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.6067, allocations: 106.3 kB / 1.035 GB, free: 15.29 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.6068, allocations: 75.33 kB / 1.035 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.6068, allocations: 4 kB / 1.035 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.6068, allocations: 34.5 kB / 1.035 GB, free: 15.15 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.6068, allocations: 0 / 1.035 GB, free: 15.15 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003318/0.6072, allocations: 181.5 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.6073, allocations: 136.5 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.6078, allocations: 0.5052 MB / 1.036 GB, free: 14.29 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.6079, allocations: 29.7 kB / 1.036 GB, free: 14.26 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.608, allocations: 160.4 kB / 1.036 GB, free: 14.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.608, allocations: 11.8 kB / 1.036 GB, free: 14.09 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.6081, allocations: 53.59 kB / 1.037 GB, free: 14.03 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6082, allocations: 342.8 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.6084, allocations: 119.9 kB / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.6086, allocations: 186.7 kB / 1.037 GB, free: 13.36 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.6089, allocations: 263.2 kB / 1.037 GB, free: 13.09 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6089, allocations: 0 / 1.037 GB, free: 13.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004325/0.6094, allocations: 325.2 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.6094, allocations: 7.938 kB / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6094, allocations: 0 / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.6094, allocations: 8 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.6096, allocations: 19.98 kB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.6096, allocations: 7.922 kB / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.6098, allocations: 19.83 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.6098, allocations: 4 kB / 1.038 GB, free: 12.7 MB / 0.795 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001626/0.61, allocations: 186.2 kB / 1.038 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.61, allocations: 43.47 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.6104, allocations: 176 kB / 1.038 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6104, allocations: 3.938 kB / 1.038 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6104, allocations: 4 kB / 1.038 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.6104, allocations: 0 / 1.038 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.6106, allocations: 289.4 kB / 1.038 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6107, allocations: 8.109 kB / 1.038 GB, free: 11.94 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.6107, allocations: 16 kB / 1.038 GB, free: 11.92 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6108, allocations: 3.938 kB / 1.038 GB, free: 11.92 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.6108, allocations: 4 kB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6108, allocations: 0 / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6108, allocations: 3.938 kB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.611, allocations: 191.2 kB / 1.039 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6112, allocations: 140.5 kB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.6112, allocations: 4 kB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.6114, allocations: 7.984 kB / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.6114, allocations: 15.92 kB / 1.039 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.6114, allocations: 4 kB / 1.039 GB, free: 11.51 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000414/0.6118, allocations: 379 kB / 1.039 GB, free: 11.14 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6119, allocations: 7.938 kB / 1.039 GB, free: 11.13 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004845/0.6123, allocations: 104 kB / 1.039 GB, free: 11.03 MB / 0.795 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.004677/0.617, allocations: 2.796 MB / 1.042 GB, free: 8.219 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.6174, allocations: 203.8 kB / 1.042 GB, free: 8.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6174, allocations: 0 / 1.042 GB, free: 8.02 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.129e-05/0.6175, allocations: 47.89 kB / 1.042 GB, free: 7.973 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.6178, allocations: 53.73 kB / 1.042 GB, free: 7.922 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009068/0.6188, allocations: 0.6561 MB / 1.043 GB, free: 7.23 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.6191, allocations: 0.8146 MB / 1.044 GB, free: 6.391 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.6193, allocations: 46.28 kB / 1.044 GB, free: 6.348 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.6193, allocations: 19.44 kB / 1.044 GB, free: 6.328 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.6193, allocations: 4 kB / 1.044 GB, free: 6.324 MB / 0.795 GB Notification: Performance of Templates: time 0.01182/0.6312, allocations: 7.7 MB / 1.051 GB, free: 14.66 MB / 0.8106 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