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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001362/0.001363, allocations: 197.9 kB / 16.14 MB, free: 6.648 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.31 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.364, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.00316/0.3672, allocations: 1.654 MB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3688, allocations: 0.9112 MB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.3689, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3692, allocations: 55.77 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.3697, allocations: 139.4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.311e-05/0.3697, allocations: 12 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000408/0.3702, allocations: 350.3 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.3703, allocations: 44.75 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.3705, allocations: 123.4 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.3707, allocations: 139.2 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3707, allocations: 12 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.3741, allocations: 0.6603 MB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.3742, allocations: 43.7 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.3744, allocations: 127.3 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.3907, allocations: 13.29 MB / 1.085 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3907, allocations: 0 / 1.085 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3907, allocations: 0 / 1.085 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3907, allocations: 0 / 1.085 GB, free: 9.27 MB / 0.8419 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.001516/0.3923, allocations: 0.6576 MB / 1.085 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3923, allocations: 8.031 kB / 1.085 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.3924, allocations: 32.56 kB / 1.085 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.3929, allocations: 378.2 kB / 1.086 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3929, allocations: 4.375 kB / 1.086 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.3929, allocations: 4.375 kB / 1.086 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.3931, allocations: 105.4 kB / 1.086 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3931, allocations: 4 kB / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3932, allocations: 0 / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3932, allocations: 7.938 kB / 1.086 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.3933, allocations: 71.86 kB / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.3937, allocations: 344.1 kB / 1.086 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.3938, allocations: 110.3 kB / 1.086 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.3939, allocations: 59.45 kB / 1.086 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.394, allocations: 0 / 1.086 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.394, allocations: 46.5 kB / 1.086 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.394, allocations: 3.938 kB / 1.086 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0003542/0.3944, allocations: 181.1 kB / 1.087 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.3945, allocations: 136.4 kB / 1.087 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000603/0.3951, allocations: 0.5014 MB / 1.087 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3951, allocations: 25.7 kB / 1.087 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.3953, allocations: 172.8 kB / 1.087 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.3953, allocations: 11.84 kB / 1.087 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.3954, allocations: 53.59 kB / 1.087 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3955, allocations: 338.8 kB / 1.088 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.3957, allocations: 119.9 kB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3959, allocations: 178.8 kB / 1.088 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.3963, allocations: 267.2 kB / 1.088 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3963, allocations: 0 / 1.088 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004406/0.3967, allocations: 329.1 kB / 1.089 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3968, allocations: 9.5 kB / 1.089 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3968, allocations: 4 kB / 1.089 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.3968, allocations: 3.984 kB / 1.089 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3969, allocations: 19.92 kB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.397, allocations: 4 kB / 1.089 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3971, allocations: 27.83 kB / 1.089 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3972, allocations: 7.938 kB / 1.089 GB, free: 4.781 MB / 0.8419 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001751/0.3973, allocations: 177.8 kB / 1.089 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.3974, allocations: 35.56 kB / 1.089 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.3977, allocations: 179.7 kB / 1.089 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3977, allocations: 4 kB / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3978, allocations: 0 / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3978, allocations: 7.984 kB / 1.089 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.3981, allocations: 285.4 kB / 1.089 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3981, allocations: 4 kB / 1.089 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.855e-05/0.3982, allocations: 15.94 kB / 1.089 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3982, allocations: 3.938 kB / 1.089 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3982, allocations: 4.234 kB / 1.089 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.3982, allocations: 7.984 kB / 1.089 GB, free: 4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3982, allocations: 0 / 1.089 GB, free: 4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3985, allocations: 191.2 kB / 1.09 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3986, allocations: 136.6 kB / 1.09 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.3987, allocations: 4 kB / 1.09 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3988, allocations: 11.97 kB / 1.09 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.3989, allocations: 11.94 kB / 1.09 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.3989, allocations: 8 kB / 1.09 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004228/0.3993, allocations: 379 kB / 1.09 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3993, allocations: 0 / 1.09 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005135/0.3998, allocations: 99.94 kB / 1.09 GB, free: 3.133 MB / 0.8419 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.005269/0.4051, allocations: 2.811 MB / 1.093 GB, free: 316 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.4056, allocations: 191.8 kB / 1.093 GB, free: 124 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.4056, allocations: 0 / 1.093 GB, free: 124 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.4057, allocations: 47.91 kB / 1.093 GB, free: 76 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.4062, allocations: 60 kB / 1.093 GB, free: 16 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.4074, allocations: 0.6599 MB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.4077, allocations: 0.8146 MB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.4079, allocations: 50.3 kB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.408, allocations: 19.44 kB / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.408, allocations: 0 / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of Templates: time 0.01329/0.4213, allocations: 7.7 MB / 1.102 GB, free: 6.75 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches