Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvection,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.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,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.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, 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.001724/0.001724, allocations: 193 kB / 16.13 MB, free: 6.652 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.538/2.538, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5859/0.5872, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003568/0.5908, allocations: 1.653 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.5929, allocations: 0.9035 MB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.593, allocations: 7.938 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.5934, allocations: 55.78 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0006192/0.594, allocations: 139.5 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.123e-05/0.5941, allocations: 8.016 kB / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.5947, allocations: 362.2 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.5948, allocations: 52.72 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.5951, allocations: 119.4 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.5954, allocations: 139.3 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.916e-05/0.5955, allocations: 12 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006206/0.6017, allocations: 0.6603 MB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.6018, allocations: 43.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.6021, allocations: 131.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.02057/0.6226, allocations: 13.29 MB / 1.034 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6227, allocations: 0 / 1.034 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6227, allocations: 0 / 1.034 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.6227, allocations: 0 / 1.034 GB, free: 1.133 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.00137/0.6241, allocations: 0.6516 MB / 1.034 GB, free: 444 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6241, allocations: 8.031 kB / 1.034 GB, free: 436 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.6242, allocations: 32.56 kB / 1.034 GB, free: 404 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.6247, allocations: 370.4 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.6247, allocations: 8.312 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.6248, allocations: 8.312 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.6249, allocations: 97.38 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.6249, allocations: 4 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.625, allocations: 0 / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.625, allocations: 7.984 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.6251, allocations: 67.88 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.6254, allocations: 348 kB / 1.035 GB, free: 15.39 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.6256, allocations: 110.3 kB / 1.035 GB, free: 15.24 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.17e-05/0.6257, allocations: 59.41 kB / 1.035 GB, free: 15.17 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.6257, allocations: 7.984 kB / 1.035 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.6257, allocations: 46.48 kB / 1.035 GB, free: 15.11 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.6257, allocations: 0 / 1.035 GB, free: 15.11 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003562/0.6261, allocations: 181.1 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.6262, allocations: 128.5 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/0.6268, allocations: 0.5092 MB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.6268, allocations: 26.2 kB / 1.036 GB, free: 14.22 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.6269, allocations: 164.4 kB / 1.036 GB, free: 14.06 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.627, allocations: 11.81 kB / 1.036 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.627, allocations: 57.53 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6272, allocations: 342.8 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.6273, allocations: 119.9 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.6275, allocations: 182.8 kB / 1.037 GB, free: 13.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.6279, allocations: 267.2 kB / 1.037 GB, free: 13.05 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6279, allocations: 0 / 1.037 GB, free: 13.05 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004481/0.6283, allocations: 317.2 kB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6284, allocations: 10.28 kB / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6284, allocations: 4 kB / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6284, allocations: 0 / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.6286, allocations: 23.92 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.6286, allocations: 8 kB / 1.038 GB, free: 12.69 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.6287, allocations: 19.83 kB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.6288, allocations: 7.984 kB / 1.038 GB, free: 12.66 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.0001631/0.6289, allocations: 182.2 kB / 1.038 GB, free: 12.47 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.629, allocations: 39.45 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.6293, allocations: 175.8 kB / 1.038 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.6293, allocations: 7.938 kB / 1.038 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6293, allocations: 0 / 1.038 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.6293, allocations: 4 kB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.6296, allocations: 293.4 kB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6296, allocations: 4 kB / 1.038 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.152e-05/0.6297, allocations: 15.98 kB / 1.038 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6297, allocations: 3.938 kB / 1.038 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.6297, allocations: 4 kB / 1.038 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.6297, allocations: 7.938 kB / 1.038 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6298, allocations: 4.125 kB / 1.038 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.63, allocations: 187.3 kB / 1.039 GB, free: 11.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.6301, allocations: 140.5 kB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.6302, allocations: 4 kB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.6303, allocations: 11.98 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.6304, allocations: 15.92 kB / 1.039 GB, free: 11.47 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.6304, allocations: 4 kB / 1.039 GB, free: 11.46 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004162/0.6308, allocations: 371.1 kB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6308, allocations: 0 / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005198/0.6314, allocations: 108 kB / 1.039 GB, free: 11 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.004781/0.6361, allocations: 2.804 MB / 1.042 GB, free: 8.18 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.6366, allocations: 200 kB / 1.042 GB, free: 7.984 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6366, allocations: 0 / 1.042 GB, free: 7.984 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.139e-05/0.6367, allocations: 47.91 kB / 1.042 GB, free: 7.938 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.6371, allocations: 57.72 kB / 1.042 GB, free: 7.883 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.638, allocations: 0.6483 MB / 1.043 GB, free: 7.199 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.6384, allocations: 0.8224 MB / 1.044 GB, free: 6.352 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.6385, allocations: 41.94 kB / 1.044 GB, free: 6.312 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.6386, allocations: 23.42 kB / 1.044 GB, free: 6.289 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.6386, allocations: 0 / 1.044 GB, free: 6.289 MB / 0.795 GB Notification: Performance of Templates: time 0.01177/0.6504, allocations: 7.703 MB / 1.051 GB, free: 14.62 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches