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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006281/0.006281, allocations: 95.97 kB / 15.73 MB, free: 6.051 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.001271/0.001272, allocations: 197.8 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.749/2.749, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.89 kB / 1.018 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002556/0.3259, allocations: 1.587 MB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3272, allocations: 0.919 MB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.3273, allocations: 4 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.3276, allocations: 59.66 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.328, allocations: 147.3 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.545e-05/0.3281, allocations: 15.92 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004033/0.3285, allocations: 370.4 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.066e-05/0.3286, allocations: 44.75 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.3288, allocations: 147.3 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.329, allocations: 135.4 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.3291, allocations: 19.94 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.3291, allocations: 16 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.811e-05/0.3292, allocations: 47.77 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.3293, allocations: 127.2 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.3297, allocations: 290.7 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3297, allocations: 4 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.647e-06/0.3297, allocations: 0 / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3297, allocations: 4 kB / 1.17 GB, free: 2.867 MB / 0.92 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.00111/0.3308, allocations: 0.634 MB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.3309, allocations: 16.03 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.331, allocations: 32.69 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.3315, allocations: 390.6 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3315, allocations: 4.375 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3315, allocations: 384 / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3317, allocations: 97.38 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3317, allocations: 7.984 kB / 1.172 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3317, allocations: 4 kB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3317, allocations: 7.938 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.3318, allocations: 59.94 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.3322, allocations: 360 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3324, allocations: 110.4 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.3324, allocations: 63.41 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3325, allocations: 0 / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3325, allocations: 50.42 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3325, allocations: 0 / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003359/0.3328, allocations: 177.3 kB / 1.172 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.3329, allocations: 140.4 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005804/0.3335, allocations: 0.5132 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3335, allocations: 26.2 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.3337, allocations: 176 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3337, allocations: 11.91 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.3338, allocations: 21.7 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3339, allocations: 338.8 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.334, allocations: 35.95 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.334, allocations: 55.41 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3342, allocations: 107.3 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3342, allocations: 4 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000194/0.3344, allocations: 141.4 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3344, allocations: 7.938 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3344, allocations: 4.125 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3344, allocations: 4 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3346, allocations: 15.92 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3346, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.3347, allocations: 15.94 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.3347, allocations: 3.984 kB / 1.174 GB, free: 14.96 MB / 0.9356 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.0001666/0.3349, allocations: 173.8 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.335, allocations: 31.75 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.3353, allocations: 195.6 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3353, allocations: 4 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3353, allocations: 0 / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.3353, allocations: 4 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.3356, allocations: 305.5 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3356, allocations: 0 / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.3357, allocations: 12 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3357, allocations: 3.938 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3357, allocations: 8.109 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3357, allocations: 4 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3358, allocations: 7.938 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.336, allocations: 187.4 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3362, allocations: 140.8 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.3362, allocations: 15.94 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3364, allocations: 8.078 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.3364, allocations: 11.92 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.3364, allocations: 7.938 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004303/0.3369, allocations: 399 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.523e-06/0.3369, allocations: 0 / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002511/0.3371, allocations: 39.94 kB / 1.175 GB, free: 13.32 MB / 0.9356 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.000107/0.3372, allocations: 95.25 kB / 1.175 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.3374, allocations: 91.86 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3375, allocations: 4 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.3375, allocations: 43.91 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3379, allocations: 69.95 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3389, allocations: 0.5803 MB / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3393, allocations: 0.8182 MB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.3395, allocations: 54.27 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.3395, allocations: 19.44 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3395, allocations: 0 / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of Templates: time 0.007059/0.3466, allocations: 3.601 MB / 1.181 GB, free: 7.941 MB / 0.9356 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches