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.001535/0.001535, 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.001871/0.001871, allocations: 196.8 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.563/2.563, allocations: 390.2 MB / 0.6642 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 55.91 kB / 0.8118 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7368, allocations: 140.4 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002923/0.7397, allocations: 1.64 MB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.741, allocations: 0.9056 MB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.741, allocations: 6.125 kB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.7413, allocations: 57.38 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.7417, allocations: 132 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.818e-05/0.7418, allocations: 9.453 kB / 0.9516 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000336/0.7421, allocations: 356.1 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.379e-05/0.7422, allocations: 46.58 kB / 0.952 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.7424, allocations: 130.6 kB / 0.9521 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.7426, allocations: 134.8 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.7426, allocations: 10.72 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.7459, allocations: 0.6629 MB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.746, allocations: 47.38 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.7462, allocations: 129.8 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.7622, allocations: 13.29 MB / 0.966 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7622, allocations: 0 / 0.966 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7622, allocations: 0 / 0.966 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.7622, allocations: 0 / 0.966 GB, free: 11.34 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.001779/0.764, allocations: 0.6521 MB / 0.9667 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.7641, allocations: 9.094 kB / 0.9667 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.7642, allocations: 35.73 kB / 0.9667 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.7647, allocations: 375.6 kB / 0.9671 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.7648, allocations: 7.906 kB / 0.9671 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.7648, allocations: 7.688 kB / 0.9671 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.765, allocations: 102.2 kB / 0.9672 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.765, allocations: 0.9688 kB / 0.9672 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.765, allocations: 0 / 0.9672 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.765, allocations: 1.156 kB / 0.9672 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.7651, allocations: 69.55 kB / 0.9672 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.7656, allocations: 350.9 kB / 0.9676 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.7657, allocations: 107.4 kB / 0.9677 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.7658, allocations: 67.98 kB / 0.9677 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.7658, allocations: 1.375 kB / 0.9678 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.7659, allocations: 45.16 kB / 0.9678 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7659, allocations: 0 / 0.9678 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003751/0.7662, allocations: 182 kB / 0.968 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/0.7664, allocations: 142 kB / 0.9681 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.7671, allocations: 0.4992 MB / 0.9686 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.7671, allocations: 27.05 kB / 0.9686 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.7673, allocations: 159.7 kB / 0.9688 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.7673, allocations: 13.88 kB / 0.9688 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.7674, allocations: 49.78 kB / 0.9688 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000324/0.7677, allocations: 340.1 kB / 0.9692 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.7679, allocations: 117.8 kB / 0.9693 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.7682, allocations: 189 kB / 0.9694 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.7686, allocations: 266.9 kB / 0.9697 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7686, allocations: 0 / 0.9697 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005237/0.7691, allocations: 325.4 kB / 0.97 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.7692, allocations: 13.38 kB / 0.97 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.7692, allocations: 1.188 kB / 0.97 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.7692, allocations: 1.125 kB / 0.97 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.7694, allocations: 21.19 kB / 0.97 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.7694, allocations: 5.047 kB / 0.9701 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.7696, allocations: 21.7 kB / 0.9701 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.7696, allocations: 7.25 kB / 0.9701 GB, free: 8.016 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.0003234/0.77, allocations: 180.7 kB / 0.9703 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.77, allocations: 41.58 kB / 0.9703 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.7704, allocations: 184.7 kB / 0.9705 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.7704, allocations: 1.938 kB / 0.9705 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.7705, allocations: 1.062 kB / 0.9705 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.7705, allocations: 10.36 kB / 0.9705 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.7709, allocations: 287.5 kB / 0.9708 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7709, allocations: 5.219 kB / 0.9708 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.485e-05/0.771, allocations: 19.84 kB / 0.9708 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.771, allocations: 6.125 kB / 0.9708 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.771, allocations: 1.188 kB / 0.9708 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7711, allocations: 1.094 kB / 0.9708 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.7711, allocations: 5.641 kB / 0.9708 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.7713, allocations: 181.5 kB / 0.971 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.7715, allocations: 138.1 kB / 0.9711 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.7716, allocations: 10.16 kB / 0.9711 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.7718, allocations: 9.297 kB / 0.9711 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.7718, allocations: 7.422 kB / 0.9711 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.7718, allocations: 3.375 kB / 0.9711 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004936/0.7723, allocations: 378.2 kB / 0.9715 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7723, allocations: 0 / 0.9715 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001335/0.7737, allocations: 104.2 kB / 0.9716 GB, free: 6.887 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.005829/0.7795, allocations: 2.804 MB / 0.9743 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005786/0.7801, allocations: 193.5 kB / 0.9745 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7801, allocations: 0 / 0.9745 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.7802, allocations: 49.77 kB / 0.9746 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.7807, allocations: 48.53 kB / 0.9746 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.7819, allocations: 0.6707 MB / 0.9753 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.7823, allocations: 0.8147 MB / 0.9761 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.7825, allocations: 50.91 kB / 0.9761 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.7825, allocations: 20.25 kB / 0.9761 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7825, allocations: 4 kB / 0.9761 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.01478/0.7973, allocations: 7.693 MB / 0.9836 GB, free: 14.04 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