Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001652/0.001652, allocations: 107.1 kB / 16.37 MB, free: 6.012 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.001784/0.001784, allocations: 195.4 kB / 17.31 MB, free: 5.613 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 65.44 kB / 0.8707 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2996, allocations: 151.6 MB / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002634/0.3023, allocations: 1.575 MB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3036, allocations: 0.9204 MB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.3037, allocations: 4 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.3039, allocations: 63.64 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.3044, allocations: 147.3 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.655e-05/0.3044, allocations: 15.94 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.3048, allocations: 371 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.197e-05/0.3049, allocations: 44.73 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.3051, allocations: 151.3 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.3053, allocations: 127.4 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.088e-05/0.3053, allocations: 16 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.887e-05/0.3054, allocations: 16 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.3055, allocations: 51.7 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.3056, allocations: 131.2 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.3059, allocations: 286.9 kB / 1.023 GB, free: 6 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3059, allocations: 0 / 1.023 GB, free: 6 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.896e-06/0.3059, allocations: 4 kB / 1.023 GB, free: 5.996 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.3059, allocations: 0 / 1.023 GB, free: 5.996 MB / 0.795 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.001023/0.3069, allocations: 0.6247 MB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.307, allocations: 12.92 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.307, allocations: 28.56 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.3075, allocations: 394.2 kB / 1.024 GB, free: 4.859 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.3076, allocations: 4.375 kB / 1.024 GB, free: 4.855 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3076, allocations: 384 / 1.024 GB, free: 4.855 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3077, allocations: 101.4 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.3078, allocations: 0 / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3078, allocations: 7.938 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3078, allocations: 0 / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.3079, allocations: 75.86 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.3083, allocations: 344.1 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.3084, allocations: 118.3 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.253e-05/0.3085, allocations: 59.45 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.3085, allocations: 0 / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.3085, allocations: 50.5 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3085, allocations: 0 / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003087/0.3089, allocations: 185.1 kB / 1.025 GB, free: 3.793 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.3089, allocations: 132.5 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.3095, allocations: 0.5171 MB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3095, allocations: 25.7 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3097, allocations: 160.1 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.3097, allocations: 19.8 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.3097, allocations: 26.11 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3099, allocations: 342.8 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.3099, allocations: 43.89 kB / 1.026 GB, free: 2.48 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.31, allocations: 55.39 kB / 1.026 GB, free: 2.414 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3102, allocations: 103.3 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3102, allocations: 4 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002079/0.3104, allocations: 137.3 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3104, allocations: 11.92 kB / 1.026 GB, free: 2.145 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3104, allocations: 4 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3104, allocations: 0 / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3106, allocations: 11.98 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3106, allocations: 3.938 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.3107, allocations: 20.02 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3107, allocations: 0 / 1.026 GB, free: 2.105 MB / 0.795 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.000149/0.3109, allocations: 177.8 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.3109, allocations: 39.64 kB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.3113, allocations: 179.7 kB / 1.026 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3113, allocations: 8.125 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3113, allocations: 0 / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3113, allocations: 4 kB / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.3116, allocations: 305.4 kB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3116, allocations: 0 / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.3117, allocations: 15.98 kB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3117, allocations: 3.938 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3117, allocations: 8 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3117, allocations: 0 / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3117, allocations: 4 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.312, allocations: 195.1 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.3122, allocations: 140.5 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.3122, allocations: 7.938 kB / 1.027 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3124, allocations: 11.98 kB / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.3124, allocations: 11.98 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.3124, allocations: 4 kB / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004402/0.3128, allocations: 391 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3129, allocations: 0 / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002497/0.3131, allocations: 40 kB / 1.028 GB, free: 488 kB / 0.795 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 9.771e-05/0.3132, allocations: 107.2 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.3134, allocations: 79.95 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3134, allocations: 4.188 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.701e-05/0.3135, allocations: 55.89 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3138, allocations: 62.95 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009167/0.3147, allocations: 0.5851 MB / 1.028 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3151, allocations: 0.8104 MB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.3152, allocations: 58.19 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.3153, allocations: 27.42 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3153, allocations: 4 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of Templates: time 0.006702/0.322, allocations: 3.55 MB / 1.033 GB, free: 11.12 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches