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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006545/0.006546, allocations: 101.4 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 193.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 62.19 kB / 0.9508 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2614, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002793/0.2642, allocations: 1.589 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2657, allocations: 0.9204 MB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.933e-05/0.2658, allocations: 0 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.2661, allocations: 59.66 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.2667, allocations: 155.2 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.355e-05/0.2667, allocations: 8 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.2672, allocations: 380 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.2673, allocations: 52.72 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.2675, allocations: 139.3 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.2677, allocations: 135.4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.2678, allocations: 12 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.2678, allocations: 16 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2679, allocations: 47.72 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.2681, allocations: 135.2 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.2684, allocations: 283 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2684, allocations: 4 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2684, allocations: 0 / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2684, allocations: 0 / 1.092 GB, free: 13.63 MB / 0.8575 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.001213/0.2696, allocations: 0.6301 MB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2697, allocations: 16.02 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.2698, allocations: 28.56 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.2703, allocations: 390.2 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2703, allocations: 384 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.2704, allocations: 384 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.2705, allocations: 105.4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2706, allocations: 7.938 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2706, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2706, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.2707, allocations: 63.92 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.2712, allocations: 360.1 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.2713, allocations: 102.4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.2714, allocations: 63.45 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.2714, allocations: 3.938 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2714, allocations: 46.44 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.2714, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003532/0.2718, allocations: 189 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.2719, allocations: 136.4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/0.2725, allocations: 0.5093 MB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.2725, allocations: 26.2 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.2727, allocations: 168.1 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.2727, allocations: 11.89 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.2727, allocations: 21.62 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2729, allocations: 346.8 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.2729, allocations: 31.97 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.489e-05/0.273, allocations: 59.39 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2732, allocations: 107.3 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2732, allocations: 0 / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002234/0.2734, allocations: 141.2 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2734, allocations: 11.94 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2734, allocations: 128 / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2734, allocations: 7.938 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2736, allocations: 15.92 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.2736, allocations: 4 kB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2737, allocations: 11.98 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.2737, allocations: 4 kB / 1.095 GB, free: 9.738 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.2739, allocations: 181.7 kB / 1.095 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.274, allocations: 35.56 kB / 1.095 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.2743, allocations: 183.8 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2743, allocations: 0 / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2743, allocations: 4 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2743, allocations: 3.984 kB / 1.096 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.2746, allocations: 305.4 kB / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2746, allocations: 0 / 1.096 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.2747, allocations: 15.98 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.2747, allocations: 7.938 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2747, allocations: 0 / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2748, allocations: 8.125 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2748, allocations: 3.938 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.275, allocations: 183.3 kB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.2752, allocations: 148.5 kB / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.2752, allocations: 0 / 1.096 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.2754, allocations: 15.98 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.2754, allocations: 3.984 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.2754, allocations: 4 kB / 1.096 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004547/0.2759, allocations: 406.9 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2759, allocations: 0 / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002602/0.2762, allocations: 36 kB / 1.097 GB, free: 8.109 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001072/0.2763, allocations: 103.2 kB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.2765, allocations: 87.86 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2765, allocations: 0 / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.872e-05/0.2766, allocations: 43.91 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.277, allocations: 76.08 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.278, allocations: 0.577 MB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.2784, allocations: 0.8143 MB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000136/0.2785, allocations: 54.2 kB / 1.098 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.2786, allocations: 27.42 kB / 1.098 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of SimCode: time 6.92e-07/0.2786, allocations: 0 / 1.098 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of Templates: time 0.007394/0.286, allocations: 3.593 MB / 1.102 GB, free: 2.723 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches