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.00767/0.00767, allocations: 99.81 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.001774/0.001774, allocations: 194.9 kB / 16.67 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.713/2.713, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.304, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.00259/0.3066, allocations: 1.591 MB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3081, allocations: 0.919 MB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.933e-05/0.3082, allocations: 0 / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.3085, allocations: 59.66 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.3089, allocations: 155.3 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.447e-05/0.309, allocations: 4 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.3094, allocations: 373.5 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.3095, allocations: 52.72 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.3097, allocations: 139.4 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.3099, allocations: 143.3 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.3099, allocations: 16 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.31, allocations: 16 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.3101, allocations: 47.72 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.3102, allocations: 131.3 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.3105, allocations: 290.7 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3106, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3106, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.3106, allocations: 0 / 1.17 GB, free: 2.848 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.00107/0.3117, allocations: 0.6418 MB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3117, allocations: 8.031 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.3118, allocations: 28.75 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.3123, allocations: 394.6 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.3123, allocations: 384 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3123, allocations: 8.359 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3125, allocations: 101.4 kB / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3125, allocations: 0 / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3125, allocations: 0 / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3125, allocations: 0 / 1.172 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.3126, allocations: 67.86 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.313, allocations: 360.1 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3131, allocations: 106.3 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.3132, allocations: 63.45 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.3133, allocations: 0 / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3133, allocations: 42.44 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3133, allocations: 0 / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003484/0.3137, allocations: 189.7 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.3137, allocations: 132.5 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006218/0.3144, allocations: 0.5093 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.3144, allocations: 29.64 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3145, allocations: 172 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3146, allocations: 15.89 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3146, allocations: 17.72 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3148, allocations: 346.8 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.3148, allocations: 31.97 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.3149, allocations: 63.39 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.315, allocations: 103.3 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3151, allocations: 0 / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002145/0.3153, allocations: 145.4 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3153, allocations: 11.94 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3153, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3153, allocations: 0 / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3154, allocations: 11.98 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3155, allocations: 7.938 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3156, allocations: 11.94 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3156, allocations: 8 kB / 1.174 GB, free: 14.95 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.000158/0.3158, allocations: 177.9 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.3158, allocations: 35.75 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.3162, allocations: 191.7 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3162, allocations: 0 / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3162, allocations: 7.984 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3162, allocations: 0 / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.3165, allocations: 301.6 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3165, allocations: 4 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.3166, allocations: 19.98 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3166, allocations: 7.938 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3166, allocations: 0 / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3166, allocations: 4 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3166, allocations: 0 / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.3169, allocations: 203.3 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.317, allocations: 140.8 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.3171, allocations: 7.938 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3172, allocations: 7.984 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.3173, allocations: 7.984 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3173, allocations: 8 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004307/0.3177, allocations: 395 kB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3177, allocations: 4 kB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002486/0.318, allocations: 36 kB / 1.175 GB, free: 13.31 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.0001058/0.3181, allocations: 107.2 kB / 1.175 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3183, allocations: 83.86 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3183, allocations: 0 / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.3184, allocations: 47.84 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3188, allocations: 73.91 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000912/0.3197, allocations: 0.5919 MB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.32, allocations: 0.8143 MB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.3202, allocations: 50.25 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.3203, allocations: 23.42 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.3203, allocations: 4 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of Templates: time 0.006801/0.3271, allocations: 3.59 MB / 1.181 GB, free: 7.918 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