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.001023/0.001024, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008904/0.008904, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.497/2.497, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 12 kB / 0.8159 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7741/0.7745, allocations: 142.4 MB / 0.955 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001612/0.7762, allocations: 1.301 MB / 0.9563 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.7774, allocations: 0.8952 MB / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.7775, allocations: 1.219 kB / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.7778, allocations: 57.81 kB / 0.9572 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000441/0.7782, allocations: 136.3 kB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.372e-05/0.7783, allocations: 9.297 kB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.7787, allocations: 355.5 kB / 0.9577 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.941e-05/0.7787, allocations: 42.44 kB / 0.9577 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.7789, allocations: 130.2 kB / 0.9579 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.7791, allocations: 131.9 kB / 0.958 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.7792, allocations: 10.56 kB / 0.958 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.7825, allocations: 0.6664 MB / 0.9587 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.7826, allocations: 42.64 kB / 0.9587 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.7828, allocations: 160.8 kB / 0.9589 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.7972, allocations: 13.29 MB / 0.9718 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.7973, allocations: 4 kB / 0.9718 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.033e-06/0.7973, allocations: 0 / 0.9718 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.7973, allocations: 1.031 kB / 0.9718 GB, free: 10.16 MB / 0.7325 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.001706/0.799, allocations: 0.6029 MB / 0.9724 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.7991, allocations: 12.41 kB / 0.9724 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.7992, allocations: 32.03 kB / 0.9725 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.7997, allocations: 372 kB / 0.9728 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.7997, allocations: 2.375 kB / 0.9728 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.7998, allocations: 4.375 kB / 0.9728 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.8, allocations: 111 kB / 0.9729 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.8001, allocations: 0 / 0.9729 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.8001, allocations: 4.969 kB / 0.9729 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.8001, allocations: 1.031 kB / 0.9729 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.8002, allocations: 68.64 kB / 0.973 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.8006, allocations: 343.8 kB / 0.9733 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.8008, allocations: 111.8 kB / 0.9734 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.8009, allocations: 63.3 kB / 0.9735 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.8009, allocations: 8.891 kB / 0.9735 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.8009, allocations: 40.53 kB / 0.9735 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.8009, allocations: 4.969 kB / 0.9735 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003757/0.8013, allocations: 181.3 kB / 0.9737 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.8014, allocations: 129.3 kB / 0.9738 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.8021, allocations: 0.5078 MB / 0.9743 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.8021, allocations: 26.95 kB / 0.9744 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.8022, allocations: 156.3 kB / 0.9745 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.8023, allocations: 18.14 kB / 0.9745 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.8023, allocations: 22.78 kB / 0.9746 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8025, allocations: 352 kB / 0.9749 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.8027, allocations: 113.4 kB / 0.975 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.8029, allocations: 186.2 kB / 0.9752 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.8033, allocations: 266.2 kB / 0.9754 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8033, allocations: 1.531 kB / 0.9754 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004667/0.8038, allocations: 328 kB / 0.9757 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.8039, allocations: 11.06 kB / 0.9758 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8039, allocations: 0 / 0.9758 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.8039, allocations: 1 kB / 0.9758 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.804, allocations: 17.58 kB / 0.9758 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.8041, allocations: 1.312 kB / 0.9758 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.8042, allocations: 24.47 kB / 0.9758 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.8043, allocations: 8.188 kB / 0.9758 GB, free: 6.883 MB / 0.7325 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.000188/0.8045, allocations: 187.7 kB / 0.976 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.8045, allocations: 38.25 kB / 0.976 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.8049, allocations: 180.8 kB / 0.9762 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.8049, allocations: 6.172 kB / 0.9762 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8049, allocations: 5.094 kB / 0.9762 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8049, allocations: 1.281 kB / 0.9762 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.8053, allocations: 292.2 kB / 0.9765 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.8053, allocations: 0.8438 kB / 0.9765 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.8054, allocations: 16.33 kB / 0.9765 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.8054, allocations: 4.969 kB / 0.9765 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.8054, allocations: 2.531 kB / 0.9765 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.8055, allocations: 1.25 kB / 0.9765 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8055, allocations: 1.219 kB / 0.9765 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.8057, allocations: 193.6 kB / 0.9767 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.8059, allocations: 142.4 kB / 0.9768 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.806, allocations: 2.375 kB / 0.9768 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.8061, allocations: 17.11 kB / 0.9768 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.8062, allocations: 12.2 kB / 0.9769 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.8062, allocations: 2.906 kB / 0.9769 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005224/0.8067, allocations: 377.6 kB / 0.9772 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8067, allocations: 0 / 0.9772 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001103/0.8078, allocations: 101 kB / 0.9773 GB, free: 5.746 MB / 0.7325 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.005894/0.8137, allocations: 2.808 MB / 0.9801 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005321/0.8143, allocations: 188.9 kB / 0.9802 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8143, allocations: 0 / 0.9802 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.8144, allocations: 54.8 kB / 0.9803 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.815, allocations: 53.33 kB / 0.9803 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.8161, allocations: 0.6825 MB / 0.981 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.8166, allocations: 0.8143 MB / 0.9818 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.8168, allocations: 51.5 kB / 0.9819 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.8169, allocations: 18.81 kB / 0.9819 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of SimCode: time 1.073e-06/0.8169, allocations: 1.188 kB / 0.9819 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.01404/0.8309, allocations: 7.623 MB / 0.9893 GB, free: 11.69 MB / 0.7481 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