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.007351/0.007351, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001661/0.001661, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.421/2.421, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 69.72 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3036, allocations: 140.4 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002931/0.3066, allocations: 1.576 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3082, allocations: 0.9203 MB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.3083, allocations: 3.938 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.3086, allocations: 63.66 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005742/0.3092, allocations: 155.3 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.715e-05/0.3093, allocations: 4 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006652/0.31, allocations: 374.2 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.3101, allocations: 44.75 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.3104, allocations: 147.3 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.3106, allocations: 135.3 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.3106, allocations: 12 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.678e-05/0.3107, allocations: 20 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/0.3108, allocations: 43.78 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.311, allocations: 143.1 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.3113, allocations: 286.7 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3113, allocations: 0 / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3113, allocations: 0 / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3113, 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.001235/0.3125, allocations: 0.6418 MB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3126, allocations: 12.02 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.118e-05/0.3127, allocations: 36.7 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.3132, allocations: 394.6 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3132, allocations: 384 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3133, allocations: 384 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.3135, allocations: 109.3 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3135, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3136, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3136, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.3137, allocations: 67.86 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.3141, allocations: 356.1 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.3142, allocations: 102.4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.3143, allocations: 59.45 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3143, allocations: 7.938 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3144, allocations: 42.5 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3144, allocations: 0 / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003462/0.3147, allocations: 181.3 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.3148, allocations: 137 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.3154, allocations: 0.5093 MB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3154, allocations: 29.7 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3156, allocations: 164 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3156, allocations: 19.89 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.3157, allocations: 17.67 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3158, allocations: 350.8 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.3159, allocations: 27.97 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.316, allocations: 63.39 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3161, allocations: 103.3 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3161, allocations: 0 / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000225/0.3164, allocations: 149.3 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3164, allocations: 13.19 kB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3164, allocations: 0 / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3164, allocations: 0 / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3165, allocations: 19.92 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3166, allocations: 4 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3167, allocations: 7.984 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3167, allocations: 4 kB / 1.095 GB, free: 9.727 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.0001555/0.3169, allocations: 181.8 kB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.317, allocations: 39.7 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.3173, allocations: 183.7 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3173, allocations: 0 / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3173, allocations: 4.094 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3173, allocations: 7.969 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3176, allocations: 305.4 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3176, allocations: 4.125 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.109e-05/0.3177, allocations: 19.92 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3178, allocations: 7.938 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3178, allocations: 0 / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.3178, allocations: 4 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3178, allocations: 0 / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.318, allocations: 207.3 kB / 1.096 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.3182, allocations: 132.8 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.3183, allocations: 11.89 kB / 1.096 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.3184, allocations: 7.984 kB / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.3185, allocations: 11.98 kB / 1.096 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.3185, allocations: 4 kB / 1.096 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004802/0.319, allocations: 395 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.319, allocations: 0 / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002575/0.3192, allocations: 44 kB / 1.097 GB, free: 8.074 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.0001003/0.3193, allocations: 99.25 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.3195, allocations: 83.86 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3195, allocations: 0 / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.3196, allocations: 43.91 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.32, allocations: 69.91 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009828/0.321, allocations: 0.5882 MB / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3214, allocations: 0.8143 MB / 1.098 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.3215, allocations: 50.25 kB / 1.098 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3216, allocations: 31.36 kB / 1.098 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3216, allocations: 0 / 1.098 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of Templates: time 0.007718/0.3294, allocations: 3.596 MB / 1.102 GB, free: 2.684 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