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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001569/0.001568, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001824/0.001824, allocations: 189.9 kB / 16.14 MB, free: 6.711 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 62.56 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2686, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002812/0.2714, allocations: 1.636 MB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2729, allocations: 0.9189 MB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.273, allocations: 7.938 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.2732, allocations: 55.78 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.2736, allocations: 135.5 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.928e-05/0.2737, allocations: 4 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.274, allocations: 362.3 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.16e-05/0.2741, allocations: 40.75 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.2743, allocations: 127.4 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.2745, allocations: 139.3 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.2745, allocations: 12 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.2778, allocations: 0.6564 MB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.2779, allocations: 47.7 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.2781, allocations: 131.2 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/0.2931, allocations: 13.29 MB / 1.069 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2932, allocations: 3.984 kB / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2932, allocations: 0 / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2932, allocations: 0 / 1.069 GB, free: 7.195 MB / 0.8262 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.001462/0.2947, allocations: 0.642 MB / 1.07 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2947, allocations: 16.03 kB / 1.07 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.933e-05/0.2948, allocations: 28.56 kB / 1.07 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.2953, allocations: 382.2 kB / 1.07 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2953, allocations: 8.375 kB / 1.07 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2953, allocations: 8.312 kB / 1.07 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.2955, allocations: 97.38 kB / 1.07 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2955, allocations: 0 / 1.07 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.2955, allocations: 8 kB / 1.07 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2955, allocations: 0 / 1.07 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.2956, allocations: 71.86 kB / 1.07 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.296, allocations: 352 kB / 1.071 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.2961, allocations: 106.4 kB / 1.071 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.2962, allocations: 67.39 kB / 1.071 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.2962, allocations: 0 / 1.071 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.2963, allocations: 42.5 kB / 1.071 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2963, allocations: 0 / 1.071 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003342/0.2966, allocations: 189.1 kB / 1.071 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2967, allocations: 128.5 kB / 1.071 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/0.2972, allocations: 0.4975 MB / 1.072 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.2972, allocations: 29.7 kB / 1.072 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2974, allocations: 156.9 kB / 1.072 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.2974, allocations: 19.75 kB / 1.072 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.2975, allocations: 53.59 kB / 1.072 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2976, allocations: 338.8 kB / 1.072 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.2978, allocations: 119.8 kB / 1.072 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.298, allocations: 183.8 kB / 1.073 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.2983, allocations: 271.2 kB / 1.073 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2983, allocations: 0 / 1.073 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004326/0.2988, allocations: 325.1 kB / 1.073 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2988, allocations: 11.92 kB / 1.073 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2988, allocations: 0 / 1.073 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2988, allocations: 4 kB / 1.073 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.299, allocations: 15.98 kB / 1.073 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.299, allocations: 3.938 kB / 1.073 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.2991, allocations: 27.73 kB / 1.073 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.2992, allocations: 11.98 kB / 1.073 GB, free: 2.715 MB / 0.8262 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.0001898/0.2994, allocations: 177.8 kB / 1.073 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.2994, allocations: 35.56 kB / 1.073 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.2997, allocations: 175.8 kB / 1.074 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2998, allocations: 8.125 kB / 1.074 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2998, allocations: 3.984 kB / 1.074 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2998, allocations: 0 / 1.074 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.3, allocations: 297.3 kB / 1.074 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3, allocations: 0 / 1.074 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.161e-05/0.3001, allocations: 15.94 kB / 1.074 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3002, allocations: 7.938 kB / 1.074 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3002, allocations: 3.984 kB / 1.074 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3002, allocations: 3.938 kB / 1.074 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3002, allocations: 4 kB / 1.074 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.3004, allocations: 183.5 kB / 1.074 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3006, allocations: 140.6 kB / 1.074 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.3006, allocations: 7.969 kB / 1.074 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3008, allocations: 15.98 kB / 1.074 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.3008, allocations: 8 kB / 1.074 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3008, allocations: 3.938 kB / 1.074 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004064/0.3012, allocations: 379 kB / 1.075 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3012, allocations: 0 / 1.075 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004843/0.3017, allocations: 100 kB / 1.075 GB, free: 1.062 MB / 0.8262 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.004741/0.3065, allocations: 2.811 MB / 1.078 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.3069, allocations: 191.8 kB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3069, allocations: 0 / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.3069, allocations: 47.91 kB / 1.078 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3074, allocations: 53.72 kB / 1.078 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009376/0.3083, allocations: 0.6586 MB / 1.078 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3087, allocations: 0.8185 MB / 1.079 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.3088, allocations: 45.88 kB / 1.079 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.3089, allocations: 19.44 kB / 1.079 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3089, allocations: 0 / 1.079 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of Templates: time 0.0114/0.3203, allocations: 7.703 MB / 1.087 GB, free: 4.691 MB / 0.8419 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