Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.589/2.589, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001077/0.001077, allocations: 195.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009997/0.000999, allocations: 96.28 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.663e-05/4.667e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3219, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.49, allocations: 151.3 MB / 1.36 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.491, allocations: 76.84 kB / 1.36 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7093/2.2, allocations: 296.2 MB / 1.649 GB, free: 2.441 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.926e-06/2.2, allocations: 0 / 1.649 GB, free: 2.441 MB / 1.073 GB Notification: Performance of Transformations before backend: time 2.743e-05/2.2, allocations: 4 kB / 1.65 GB, free: 2.438 MB / 1.073 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.002173/2.202, allocations: 494.7 kB / 1.65 GB, free: 1.93 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/2.202, allocations: 12.03 kB / 1.65 GB, free: 1.918 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/2.203, allocations: 35.58 kB / 1.65 GB, free: 1.883 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/2.203, allocations: 383.2 kB / 1.65 GB, free: 1.512 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/2.203, allocations: 4 kB / 1.65 GB, free: 1.508 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/2.203, allocations: 7.25 kB / 1.65 GB, free: 1.504 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/2.204, allocations: 95.33 kB / 1.65 GB, free: 1.402 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/2.204, allocations: 4 kB / 1.65 GB, free: 1.398 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/2.204, allocations: 3.984 kB / 1.65 GB, free: 1.395 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/2.204, allocations: 3.953 kB / 1.65 GB, free: 1.391 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/2.204, allocations: 73.98 kB / 1.651 GB, free: 1.332 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/2.204, allocations: 329.4 kB / 1.651 GB, free: 1 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/2.205, allocations: 109.3 kB / 1.651 GB, free: 0.8672 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/2.205, allocations: 66.64 kB / 1.651 GB, free: 0.7969 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/2.205, allocations: 0 / 1.651 GB, free: 0.7969 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/2.205, allocations: 42.12 kB / 1.651 GB, free: 0.75 MB / 1.073 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/2.205, allocations: 0 / 1.651 GB, free: 0.75 MB / 1.073 GB Notification: Performance of matching and sorting (n=4): time 0.0003643/2.205, allocations: 147.4 kB / 1.651 GB, free: 0.6133 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.015e-05/2.205, allocations: 135.7 kB / 1.651 GB, free: 464 kB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/2.206, allocations: 432.4 kB / 1.652 GB, free: 108 kB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/2.206, allocations: 33.02 kB / 1.652 GB, free: 72 kB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/2.206, allocations: 169.3 kB / 1.652 GB, free: 15.96 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/2.206, allocations: 11.75 kB / 1.652 GB, free: 15.95 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/2.206, allocations: 0 / 1.652 GB, free: 15.95 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001646/2.206, allocations: 347.5 kB / 1.652 GB, free: 15.61 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/2.206, allocations: 30.78 kB / 1.652 GB, free: 15.59 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/2.206, allocations: 92.64 kB / 1.652 GB, free: 15.49 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.663e-05/2.206, allocations: 46.39 kB / 1.652 GB, free: 15.45 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/2.206, allocations: 0 / 1.652 GB, free: 15.45 MB / 1.089 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002463/2.207, allocations: 145.8 kB / 1.653 GB, free: 15.32 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/2.207, allocations: 5.25 kB / 1.653 GB, free: 15.31 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/2.207, allocations: 8.125 kB / 1.653 GB, free: 15.3 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/2.207, allocations: 0 / 1.653 GB, free: 15.3 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/2.207, allocations: 11.98 kB / 1.653 GB, free: 15.29 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/2.207, allocations: 3.938 kB / 1.653 GB, free: 15.29 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/2.207, allocations: 11.94 kB / 1.653 GB, free: 15.28 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/2.207, allocations: 4 kB / 1.653 GB, free: 15.27 MB / 1.089 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 9.427e-05/2.207, allocations: 108.2 kB / 1.653 GB, free: 15.16 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/2.207, allocations: 27.62 kB / 1.653 GB, free: 15.14 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/2.208, allocations: 195.3 kB / 1.653 GB, free: 14.98 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/2.208, allocations: 0 / 1.653 GB, free: 14.98 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/2.208, allocations: 0 / 1.653 GB, free: 14.98 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/2.208, allocations: 4 kB / 1.653 GB, free: 14.97 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/2.208, allocations: 302.9 kB / 1.653 GB, free: 14.67 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/2.208, allocations: 0 / 1.653 GB, free: 14.67 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.922e-05/2.208, allocations: 15.98 kB / 1.653 GB, free: 14.65 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/2.208, allocations: 12.06 kB / 1.653 GB, free: 14.64 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/2.208, allocations: 4 kB / 1.653 GB, free: 14.64 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/2.208, allocations: 0 / 1.653 GB, free: 14.64 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.208, allocations: 0 / 1.653 GB, free: 14.64 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/2.208, allocations: 230.1 kB / 1.654 GB, free: 14.39 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/2.209, allocations: 131.5 kB / 1.654 GB, free: 14.25 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/2.209, allocations: 3.953 kB / 1.654 GB, free: 14.25 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/2.209, allocations: 4 kB / 1.654 GB, free: 14.25 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/2.209, allocations: 11.61 kB / 1.654 GB, free: 14.24 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/2.209, allocations: 4.141 kB / 1.654 GB, free: 14.23 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0004214/2.209, allocations: 356 kB / 1.654 GB, free: 13.96 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.2e-07/2.209, allocations: 4 kB / 1.654 GB, free: 13.96 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0002875/2.21, allocations: 47.38 kB / 1.654 GB, free: 13.91 MB / 1.089 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.000272/2.21, allocations: 136.9 kB / 1.654 GB, free: 13.77 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0001926/2.21, allocations: 80.38 kB / 1.654 GB, free: 13.71 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/2.21, allocations: 3.938 kB / 1.654 GB, free: 13.71 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/2.21, allocations: 47.03 kB / 1.654 GB, free: 13.67 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/2.211, allocations: 58.53 kB / 1.654 GB, free: 13.63 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/2.211, allocations: 423.9 kB / 1.655 GB, free: 13.22 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/2.212, allocations: 0.8257 MB / 1.656 GB, free: 12.39 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002068/2.212, allocations: 62.02 kB / 1.656 GB, free: 12.32 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/2.212, allocations: 23.44 kB / 1.656 GB, free: 12.3 MB / 1.089 GB Notification: Performance of SimCode: time 2.034e-06/2.212, allocations: 0 / 1.656 GB, free: 12.3 MB / 1.089 GB Notification: Performance of Templates: time 0.00875/2.221, allocations: 3.593 MB / 1.659 GB, free: 8.777 MB / 1.089 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches