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.00176/0.00176, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.001928/0.001929, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.5/2.5, allocations: 437.1 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001998, allocations: 64.55 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3217, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003018/0.3248, allocations: 1.583 MB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3265, allocations: 0.9243 MB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.3266, allocations: 0 / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.3269, allocations: 71.64 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.3274, allocations: 131.3 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.933e-05/0.3274, allocations: 15.91 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.3279, allocations: 371.3 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.328, allocations: 44.73 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.3282, allocations: 139.4 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.3284, allocations: 139.3 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.3284, allocations: 20 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.528e-05/0.3285, allocations: 12 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.529e-05/0.3286, allocations: 51.77 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.3288, allocations: 131.1 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.3291, allocations: 283.3 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3291, allocations: 0 / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3291, allocations: 0 / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.3291, allocations: 0 / 1.022 GB, free: 6.773 MB / 0.795 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.001292/0.3304, allocations: 0.6301 MB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3305, allocations: 8.922 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/0.3305, allocations: 36.5 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.3311, allocations: 382.3 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3311, allocations: 384 / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3311, allocations: 384 / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3313, allocations: 109.3 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3313, allocations: 4 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3313, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3313, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3315, allocations: 63.88 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.3319, allocations: 364.1 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.3321, allocations: 102.4 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3322, allocations: 67.39 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3322, allocations: 4 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.3322, allocations: 38.5 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3323, allocations: 0 / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004017/0.3327, allocations: 185.1 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.451e-05/0.3328, allocations: 133 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007507/0.3335, allocations: 0.5171 MB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.3335, allocations: 25.7 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.3337, allocations: 164.1 kB / 1.024 GB, free: 3.699 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.3337, allocations: 11.81 kB / 1.025 GB, free: 3.688 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.3338, allocations: 25.61 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002438/0.334, allocations: 342.8 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.3341, allocations: 35.95 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.3342, allocations: 63.34 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.3344, allocations: 99.36 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3344, allocations: 0 / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002319/0.3346, allocations: 149.1 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3347, allocations: 11.94 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3347, allocations: 0 / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3347, allocations: 3.984 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3348, allocations: 8 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3348, allocations: 0 / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.335, allocations: 19.88 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.335, allocations: 7.938 kB / 1.025 GB, free: 2.891 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 (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.0001927/0.3352, allocations: 178.5 kB / 1.025 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.3353, allocations: 43.56 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.3356, allocations: 175.8 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3356, allocations: 4 kB / 1.026 GB, free: 2.48 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3356, allocations: 0 / 1.026 GB, free: 2.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3357, allocations: 4 kB / 1.026 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.336, allocations: 313.5 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.336, allocations: 4 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.3361, allocations: 19.92 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.3361, allocations: 7.938 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3361, allocations: 0 / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3361, allocations: 0 / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3361, allocations: 4 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3364, allocations: 191.2 kB / 1.026 GB, free: 1.871 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.3366, allocations: 136.5 kB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.3366, allocations: 11.94 kB / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3368, allocations: 7.984 kB / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.3368, allocations: 7.984 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.3368, allocations: 4 kB / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004804/0.3373, allocations: 395 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3373, allocations: 4 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002595/0.3376, allocations: 36 kB / 1.027 GB, free: 1.266 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.0001349/0.3377, allocations: 103.2 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.3379, allocations: 87.86 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3379, allocations: 3.938 kB / 1.027 GB, free: 1.066 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.338, allocations: 43.95 kB / 1.027 GB, free: 1.023 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3384, allocations: 83.42 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.3396, allocations: 0.6021 MB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.3401, allocations: 0.8142 MB / 1.028 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.3401, allocations: 19.44 kB / 1.028 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.3401, allocations: 0 / 1.028 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of Templates: time 0.00681/0.347, allocations: 3.683 MB / 1.032 GB, free: 11.78 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches