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.354/2.354, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001054/0.001054, allocations: 179.4 kB / 487.4 MB, free: 5.055 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.766/1.766, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009721/0.0009721, allocations: 99.77 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.886e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3686, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/1.597, allocations: 150.7 MB / 1.353 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/1.597, allocations: 82.03 kB / 1.353 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7834/2.381, allocations: 296.1 MB / 1.642 GB, free: 9.496 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.935e-06/2.381, allocations: 0 / 1.642 GB, free: 9.496 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.839e-05/2.381, allocations: 4 kB / 1.642 GB, free: 9.492 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.003439/2.384, allocations: 493.3 kB / 1.643 GB, free: 8.984 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/2.384, allocations: 8.031 kB / 1.643 GB, free: 8.977 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/2.384, allocations: 39.52 kB / 1.643 GB, free: 8.938 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008291/2.385, allocations: 384.9 kB / 1.643 GB, free: 8.566 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/2.385, allocations: 0 / 1.643 GB, free: 8.566 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/2.385, allocations: 4 kB / 1.643 GB, free: 8.562 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001636/2.385, allocations: 65.8 kB / 1.643 GB, free: 8.512 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/2.386, allocations: 99.44 kB / 1.643 GB, free: 8.406 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/2.386, allocations: 0 / 1.643 GB, free: 8.406 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/2.386, allocations: 7.953 kB / 1.643 GB, free: 8.398 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/2.386, allocations: 0 / 1.643 GB, free: 8.398 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/2.386, allocations: 320.9 kB / 1.644 GB, free: 8.09 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/2.386, allocations: 105.2 kB / 1.644 GB, free: 7.957 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/2.387, allocations: 57.53 kB / 1.644 GB, free: 7.898 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/2.387, allocations: 0 / 1.644 GB, free: 7.898 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/2.387, allocations: 41.88 kB / 1.644 GB, free: 7.852 MB / 1.073 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/2.387, allocations: 0 / 1.644 GB, free: 7.852 MB / 1.073 GB Notification: Performance of matching and sorting (n=4): time 0.0003985/2.387, allocations: 142.6 kB / 1.644 GB, free: 7.719 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.767e-05/2.387, allocations: 128.5 kB / 1.644 GB, free: 7.562 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007042/2.388, allocations: 423.3 kB / 1.644 GB, free: 7.23 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/2.388, allocations: 25.7 kB / 1.645 GB, free: 7.199 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/2.388, allocations: 160 kB / 1.645 GB, free: 7.094 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/2.388, allocations: 19.48 kB / 1.645 GB, free: 7.078 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/2.388, allocations: 0 / 1.645 GB, free: 7.078 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002256/2.388, allocations: 355.3 kB / 1.645 GB, free: 6.734 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/2.388, allocations: 31.09 kB / 1.645 GB, free: 6.711 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/2.389, allocations: 92.69 kB / 1.645 GB, free: 6.605 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/2.389, allocations: 43.33 kB / 1.645 GB, free: 6.57 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/2.389, allocations: 4 kB / 1.645 GB, free: 6.566 MB / 1.073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002958/2.389, allocations: 138.8 kB / 1.645 GB, free: 6.441 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/2.389, allocations: 4 kB / 1.645 GB, free: 6.438 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/2.389, allocations: 0 / 1.645 GB, free: 6.438 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/2.389, allocations: 4 kB / 1.645 GB, free: 6.434 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/2.389, allocations: 11.98 kB / 1.645 GB, free: 6.422 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/2.389, allocations: 3.938 kB / 1.645 GB, free: 6.418 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/2.389, allocations: 12.11 kB / 1.645 GB, free: 6.406 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/2.389, allocations: 4 kB / 1.645 GB, free: 6.402 MB / 1.073 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.0001301/2.39, allocations: 104.9 kB / 1.645 GB, free: 6.293 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/2.39, allocations: 35.61 kB / 1.645 GB, free: 6.258 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/2.39, allocations: 177.1 kB / 1.646 GB, free: 6.105 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/2.39, allocations: 4 kB / 1.646 GB, free: 6.102 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/2.39, allocations: 0 / 1.646 GB, free: 6.102 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/2.39, allocations: 4 kB / 1.646 GB, free: 6.098 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/2.391, allocations: 275.1 kB / 1.646 GB, free: 5.828 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/2.391, allocations: 7.875 kB / 1.646 GB, free: 5.82 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/2.391, allocations: 15.98 kB / 1.646 GB, free: 5.805 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/2.391, allocations: 7.938 kB / 1.646 GB, free: 5.797 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/2.391, allocations: 0 / 1.646 GB, free: 5.797 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/2.391, allocations: 0 / 1.646 GB, free: 5.797 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/2.391, allocations: 4 kB / 1.646 GB, free: 5.793 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/2.391, allocations: 224.8 kB / 1.646 GB, free: 5.555 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/2.391, allocations: 131.6 kB / 1.646 GB, free: 5.414 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/2.392, allocations: 4 kB / 1.646 GB, free: 5.41 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/2.392, allocations: 4 kB / 1.646 GB, free: 5.406 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/2.392, allocations: 8.078 kB / 1.646 GB, free: 5.398 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/2.392, allocations: 4 kB / 1.646 GB, free: 5.395 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0005745/2.392, allocations: 346.1 kB / 1.647 GB, free: 5.133 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.21e-07/2.392, allocations: 0 / 1.647 GB, free: 5.133 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0004245/2.393, allocations: 43.88 kB / 1.647 GB, free: 5.094 MB / 1.073 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.0003397/2.393, allocations: 130.8 kB / 1.647 GB, free: 4.961 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0002851/2.393, allocations: 74.25 kB / 1.647 GB, free: 4.902 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/2.393, allocations: 256 / 1.647 GB, free: 4.902 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/2.394, allocations: 54.22 kB / 1.647 GB, free: 4.859 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/2.394, allocations: 54.14 kB / 1.647 GB, free: 4.824 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/2.395, allocations: 429.3 kB / 1.647 GB, free: 4.41 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/2.396, allocations: 0.8244 MB / 1.648 GB, free: 3.574 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0002685/2.396, allocations: 58.03 kB / 1.648 GB, free: 3.52 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.914e-05/2.397, allocations: 27.3 kB / 1.648 GB, free: 3.496 MB / 1.073 GB Notification: Performance of SimCode: time 3.817e-06/2.397, allocations: 0 / 1.648 GB, free: 3.496 MB / 1.073 GB Notification: Performance of Templates: time 0.009912/2.407, allocations: 3.021 MB / 1.651 GB, free: 0.5469 MB / 1.073 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