Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 390.3 MB / 402.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.706/1.706, allocations: 221.3 MB / 0.7915 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009443/0.0009444, allocations: 91.89 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.688e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3817, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.635, allocations: 152.1 MB / 1.367 GB, free: 1.879 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/1.635, allocations: 77.02 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7421/2.377, allocations: 296.2 MB / 1.657 GB, free: 10.75 MB / 1.12 GB Notification: Performance of FrontEnd: time 3.777e-06/2.377, allocations: 0 / 1.657 GB, free: 10.75 MB / 1.12 GB Notification: Performance of Transformations before backend: time 4.515e-05/2.378, allocations: 8 kB / 1.657 GB, free: 10.74 MB / 1.12 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.003098/2.381, allocations: 0.4894 MB / 1.657 GB, free: 10.23 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 7.886e-05/2.381, allocations: 8.031 kB / 1.657 GB, free: 10.22 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/2.381, allocations: 31.62 kB / 1.657 GB, free: 10.19 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/2.382, allocations: 387.3 kB / 1.658 GB, free: 9.805 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/2.382, allocations: 0 / 1.658 GB, free: 9.805 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/2.382, allocations: 4 kB / 1.658 GB, free: 9.801 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/2.382, allocations: 103.7 kB / 1.658 GB, free: 9.691 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/2.382, allocations: 0 / 1.658 GB, free: 9.691 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/2.382, allocations: 7.953 kB / 1.658 GB, free: 9.684 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/2.382, allocations: 0 / 1.658 GB, free: 9.684 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/2.383, allocations: 66.12 kB / 1.658 GB, free: 9.633 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006814/2.383, allocations: 338.5 kB / 1.658 GB, free: 9.293 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/2.383, allocations: 105 kB / 1.658 GB, free: 9.164 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/2.384, allocations: 65.84 kB / 1.658 GB, free: 9.098 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/2.384, allocations: 7.938 kB / 1.658 GB, free: 9.09 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/2.384, allocations: 34.55 kB / 1.658 GB, free: 9.047 MB / 1.12 GB Notification: Performance of pre-optimization done (n=4): time 2.185e-06/2.384, allocations: 3.938 kB / 1.658 GB, free: 9.043 MB / 1.12 GB Notification: Performance of matching and sorting (n=4): time 0.000409/2.384, allocations: 142.7 kB / 1.658 GB, free: 8.914 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/2.384, allocations: 140.5 kB / 1.659 GB, free: 8.746 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/2.385, allocations: 436.2 kB / 1.659 GB, free: 8.395 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/2.385, allocations: 25.7 kB / 1.659 GB, free: 8.363 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/2.385, allocations: 165.2 kB / 1.659 GB, free: 8.254 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/2.385, allocations: 15.75 kB / 1.659 GB, free: 8.238 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-06/2.385, allocations: 3.625 kB / 1.659 GB, free: 8.238 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0002198/2.385, allocations: 336.5 kB / 1.659 GB, free: 7.91 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.934e-05/2.385, allocations: 34.83 kB / 1.659 GB, free: 7.883 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/2.386, allocations: 95.14 kB / 1.66 GB, free: 7.777 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.179e-05/2.386, allocations: 49.89 kB / 1.66 GB, free: 7.738 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/2.386, allocations: 4 kB / 1.66 GB, free: 7.734 MB / 1.12 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003047/2.386, allocations: 139.9 kB / 1.66 GB, free: 7.605 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/2.386, allocations: 8 kB / 1.66 GB, free: 7.598 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/2.386, allocations: 0 / 1.66 GB, free: 7.598 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/2.386, allocations: 0 / 1.66 GB, free: 7.598 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/2.386, allocations: 11.98 kB / 1.66 GB, free: 7.586 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/2.386, allocations: 7.953 kB / 1.66 GB, free: 7.578 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/2.386, allocations: 10.19 kB / 1.66 GB, free: 7.57 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/2.387, allocations: 3.984 kB / 1.66 GB, free: 7.566 MB / 1.12 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/2.387, allocations: 120.5 kB / 1.66 GB, free: 7.445 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/2.387, allocations: 31.62 kB / 1.66 GB, free: 7.414 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/2.387, allocations: 180.6 kB / 1.66 GB, free: 7.266 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/2.387, allocations: 0 / 1.66 GB, free: 7.266 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/2.387, allocations: 4.125 kB / 1.66 GB, free: 7.262 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/2.387, allocations: 11.94 kB / 1.66 GB, free: 7.25 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/2.388, allocations: 294.7 kB / 1.66 GB, free: 6.953 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/2.388, allocations: 3.984 kB / 1.66 GB, free: 6.949 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/2.388, allocations: 12 kB / 1.66 GB, free: 6.938 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/2.388, allocations: 4 kB / 1.66 GB, free: 6.934 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/2.388, allocations: 0 / 1.66 GB, free: 6.934 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/2.388, allocations: 0 / 1.66 GB, free: 6.934 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/2.388, allocations: 4 kB / 1.66 GB, free: 6.93 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/2.388, allocations: 229.3 kB / 1.661 GB, free: 6.684 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/2.388, allocations: 127.6 kB / 1.661 GB, free: 6.547 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/2.389, allocations: 10.64 kB / 1.661 GB, free: 6.539 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/2.389, allocations: 3.984 kB / 1.661 GB, free: 6.535 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/2.389, allocations: 8 kB / 1.661 GB, free: 6.527 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/2.389, allocations: 11.17 kB / 1.661 GB, free: 6.52 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0005364/2.389, allocations: 357.9 kB / 1.661 GB, free: 6.246 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.7e-07/2.389, allocations: 4 kB / 1.661 GB, free: 6.242 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0003282/2.39, allocations: 43.94 kB / 1.661 GB, free: 6.199 MB / 1.12 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003258/2.39, allocations: 135 kB / 1.661 GB, free: 6.059 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0003283/2.39, allocations: 80.38 kB / 1.661 GB, free: 5.996 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/2.39, allocations: 0 / 1.661 GB, free: 5.996 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/2.39, allocations: 45.16 kB / 1.661 GB, free: 5.961 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/2.391, allocations: 59.59 kB / 1.661 GB, free: 5.922 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/2.392, allocations: 437.4 kB / 1.662 GB, free: 5.504 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/2.392, allocations: 0.8234 MB / 1.663 GB, free: 4.668 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0002002/2.393, allocations: 58.03 kB / 1.663 GB, free: 4.609 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/2.393, allocations: 26.42 kB / 1.663 GB, free: 4.586 MB / 1.12 GB Notification: Performance of SimCode: time 6.31e-07/2.393, allocations: 0 / 1.663 GB, free: 4.586 MB / 1.12 GB Notification: Performance of Templates: time 0.008833/2.402, allocations: 3.593 MB / 1.666 GB, free: 1.062 MB / 1.12 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches