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.4/2.4, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001152/0.001152, allocations: 191.9 kB / 0.4902 GB, free: 2.273 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.68/1.68, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.0009227/0.0009227, allocations: 102.4 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004167, allocations: 7.125 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3243, allocations: 143 MB / 1.229 GB, free: 85.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.5349, allocations: 152.2 MB / 1.378 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.5352, allocations: 75.95 kB / 1.378 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.349/1.884, allocations: 296.2 MB / 1.667 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.804e-06/1.884, allocations: 4 kB / 1.667 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.629e-05/1.884, allocations: 4 kB / 1.667 GB, free: 15.64 MB / 0.9792 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.003316/1.887, allocations: 0.597 MB / 1.668 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/1.887, allocations: 8.562 kB / 1.668 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/1.888, allocations: 40.38 kB / 1.668 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009534/1.889, allocations: 389.4 kB / 1.668 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/1.889, allocations: 0 / 1.668 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/1.889, allocations: 4 kB / 1.668 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/1.889, allocations: 96.75 kB / 1.668 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.889, allocations: 0 / 1.668 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/1.889, allocations: 7.953 kB / 1.668 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.889, allocations: 7.938 kB / 1.668 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/1.889, allocations: 59.62 kB / 1.668 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/1.89, allocations: 332.9 kB / 1.669 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/1.89, allocations: 109.9 kB / 1.669 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/1.89, allocations: 1.25 kB / 1.669 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.89, allocations: 42.44 kB / 1.669 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/1.89, allocations: 0 / 1.669 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4): time 0.0005403/1.891, allocations: 191.5 kB / 1.669 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/1.891, allocations: 136.5 kB / 1.669 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/1.892, allocations: 432.6 kB / 1.67 GB, free: 13.24 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/1.892, allocations: 25.7 kB / 1.67 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/1.892, allocations: 165.7 kB / 1.67 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/1.892, allocations: 19.69 kB / 1.67 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.694e-06/1.892, allocations: 0 / 1.67 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000199/1.892, allocations: 342.9 kB / 1.67 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/1.892, allocations: 35.83 kB / 1.67 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/1.892, allocations: 90.58 kB / 1.67 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/1.892, allocations: 47.7 kB / 1.67 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.892, allocations: 0 / 1.67 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003419/1.893, allocations: 150.4 kB / 1.67 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/1.893, allocations: 4 kB / 1.67 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.893, allocations: 4 kB / 1.67 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.893, allocations: 1.203 kB / 1.67 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/1.893, allocations: 11.98 kB / 1.67 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.893, allocations: 0 / 1.67 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/1.893, allocations: 20.06 kB / 1.67 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/1.893, allocations: 0 / 1.67 GB, free: 12.41 MB / 0.9792 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002573/1.894, allocations: 177.5 kB / 1.671 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/1.894, allocations: 31.62 kB / 1.671 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/1.894, allocations: 178.8 kB / 1.671 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.894, allocations: 12.02 kB / 1.671 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.894, allocations: 0 / 1.671 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.894, allocations: 7.984 kB / 1.671 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/1.895, allocations: 304 kB / 1.671 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.895, allocations: 3.984 kB / 1.671 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/1.895, allocations: 15.94 kB / 1.671 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.895, allocations: 0 / 1.671 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/1.895, allocations: 4 kB / 1.671 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/1.895, allocations: 0 / 1.671 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.895, allocations: 7.922 kB / 1.671 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/1.895, allocations: 228.6 kB / 1.671 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/1.896, allocations: 128 kB / 1.671 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.455e-05/1.896, allocations: 11.95 kB / 1.671 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/1.896, allocations: 10.61 kB / 1.671 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/1.896, allocations: 4 kB / 1.671 GB, free: 11.31 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/1.896, allocations: 3.984 kB / 1.671 GB, free: 11.31 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006164/1.897, allocations: 368.2 kB / 1.672 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.91e-07/1.897, allocations: 0 / 1.672 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000481/1.897, allocations: 47.88 kB / 1.672 GB, free: 10.98 MB / 0.9792 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 (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.0002627/1.897, allocations: 126.2 kB / 1.672 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002948/1.898, allocations: 86.42 kB / 1.672 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.898, allocations: 256 / 1.672 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/1.898, allocations: 51.59 kB / 1.672 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/1.898, allocations: 61.08 kB / 1.672 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/1.9, allocations: 0.6563 MB / 1.673 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/1.9, allocations: 0.822 MB / 1.674 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002651/1.901, allocations: 62.23 kB / 1.674 GB, free: 9.156 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/1.901, allocations: 27.38 kB / 1.674 GB, free: 9.133 MB / 0.9792 GB Notification: Performance of SimCode: time 5.31e-07/1.901, allocations: 0 / 1.674 GB, free: 9.133 MB / 0.9792 GB Notification: Performance of Templates: time 0.01114/1.912, allocations: 3.527 MB / 1.677 GB, free: 5.684 MB / 0.9792 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