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.249/2.249, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001189/0.001189, allocations: 188.1 kB / 498.1 MB, free: 5.723 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.533/1.533, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.001037/0.001037, allocations: 88.28 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004294, allocations: 10.09 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3685, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/0.5837, allocations: 151.4 MB / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.5841, allocations: 75.97 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.4/1.985, allocations: 296.2 MB / 1.66 GB, free: 3.758 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.328e-06/1.985, allocations: 3.984 kB / 1.66 GB, free: 3.754 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.384e-05/1.985, allocations: 4 kB / 1.66 GB, free: 3.75 MB / 0.9323 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.002416/1.987, allocations: 0.5993 MB / 1.661 GB, free: 3.125 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/1.987, allocations: 12.03 kB / 1.661 GB, free: 3.113 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/1.987, allocations: 42.97 kB / 1.661 GB, free: 3.074 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/1.988, allocations: 371.8 kB / 1.661 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/1.988, allocations: 7.75 kB / 1.661 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/1.988, allocations: 4 kB / 1.661 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/1.988, allocations: 102.4 kB / 1.661 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.988, allocations: 0 / 1.661 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.988, allocations: 3.953 kB / 1.661 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.988, allocations: 0 / 1.661 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/1.988, allocations: 66.22 kB / 1.661 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/1.989, allocations: 334.8 kB / 1.662 GB, free: 2.207 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/1.989, allocations: 104.6 kB / 1.662 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/1.989, allocations: 4.562 kB / 1.662 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.989, allocations: 40.25 kB / 1.662 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/1.989, allocations: 0 / 1.662 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4): time 0.0004155/1.99, allocations: 178.5 kB / 1.662 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/1.99, allocations: 141.9 kB / 1.662 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000612/1.99, allocations: 436.8 kB / 1.662 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/1.99, allocations: 30.77 kB / 1.662 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/1.99, allocations: 168.7 kB / 1.663 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/1.991, allocations: 17.7 kB / 1.663 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/1.991, allocations: 0 / 1.663 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.991, allocations: 343.7 kB / 1.663 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/1.991, allocations: 39.14 kB / 1.663 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/1.991, allocations: 90.02 kB / 1.663 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.7e-05/1.991, allocations: 49.33 kB / 1.663 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.991, allocations: 0 / 1.663 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002353/1.991, allocations: 154 kB / 1.663 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.991, allocations: 4 kB / 1.663 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.991, allocations: 0 / 1.663 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.991, allocations: 4 kB / 1.663 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/1.991, allocations: 7.984 kB / 1.663 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.991, allocations: 7.984 kB / 1.663 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/1.992, allocations: 11.94 kB / 1.663 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/1.992, allocations: 4.141 kB / 1.663 GB, free: 0.5117 MB / 0.9323 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.0002224/1.992, allocations: 178.3 kB / 1.663 GB, free: 352 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/1.992, allocations: 39.64 kB / 1.663 GB, free: 312 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/1.992, allocations: 180.2 kB / 1.664 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.992, allocations: 3.938 kB / 1.664 GB, free: 160 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.992, allocations: 4 kB / 1.664 GB, free: 156 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.992, allocations: 3.984 kB / 1.664 GB, free: 152 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/1.993, allocations: 304.7 kB / 1.664 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.993, allocations: 4.125 kB / 1.664 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/1.993, allocations: 12 kB / 1.664 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/1.993, allocations: 7.984 kB / 1.664 GB, free: 15.83 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.993, allocations: 0 / 1.664 GB, free: 15.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.993, allocations: 0 / 1.664 GB, free: 15.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.993, allocations: 4 kB / 1.664 GB, free: 15.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/1.993, allocations: 228.1 kB / 1.664 GB, free: 15.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/1.994, allocations: 135.7 kB / 1.664 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/1.994, allocations: 3.953 kB / 1.664 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/1.994, allocations: 4 kB / 1.664 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/1.994, allocations: 15.17 kB / 1.664 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/1.994, allocations: 8 kB / 1.664 GB, free: 15.42 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000522/1.994, allocations: 361.9 kB / 1.665 GB, free: 15.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/1.994, allocations: 0 / 1.665 GB, free: 15.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003456/1.995, allocations: 47.56 kB / 1.665 GB, free: 15.1 MB / 0.948 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.0003299/1.995, allocations: 129.7 kB / 1.665 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002384/1.995, allocations: 82.98 kB / 1.665 GB, free: 14.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.995, allocations: 0 / 1.665 GB, free: 14.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/1.995, allocations: 46.53 kB / 1.665 GB, free: 14.86 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/1.996, allocations: 68.64 kB / 1.665 GB, free: 14.81 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/1.997, allocations: 0.6623 MB / 1.666 GB, free: 14.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/1.998, allocations: 0.8223 MB / 1.667 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002122/1.998, allocations: 58.25 kB / 1.667 GB, free: 13.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.574e-05/1.998, allocations: 23.44 kB / 1.667 GB, free: 13.21 MB / 0.948 GB Notification: Performance of SimCode: time 2.21e-07/1.998, allocations: 0 / 1.667 GB, free: 13.21 MB / 0.948 GB Notification: Performance of Templates: time 0.007836/2.006, allocations: 3.533 MB / 1.67 GB, free: 9.742 MB / 0.948 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