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.00121/0.001211, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001239/0.001239, allocations: 201.8 kB / 16.26 MB, free: 6.625 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 / 239.9 MB, free: 4.547 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.389/2.389, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001578, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7358, allocations: 140.3 MB / 0.9491 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002982/0.7388, allocations: 1.645 MB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.7401, allocations: 0.901 MB / 0.9516 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.7402, allocations: 1.438 kB / 0.9516 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.7405, allocations: 57.88 kB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000599/0.7411, allocations: 131.6 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.954e-05/0.7412, allocations: 9.453 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.7417, allocations: 361.5 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.7418, allocations: 46.27 kB / 0.9522 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.7421, allocations: 153.7 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.7424, allocations: 142.8 kB / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.7424, allocations: 17.34 kB / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.7456, allocations: 0.5611 MB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.7457, allocations: 59.19 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.7458, allocations: 137.3 kB / 0.9532 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.7595, allocations: 13.32 MB / 0.9662 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.7596, allocations: 0 / 0.9662 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.726e-06/0.7596, allocations: 0 / 0.9662 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.7596, allocations: 0 / 0.9662 GB, free: 11.24 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.002399/0.762, allocations: 0.6524 MB / 0.9668 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.7621, allocations: 14.19 kB / 0.9668 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.7622, allocations: 30.16 kB / 0.9669 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.7627, allocations: 372.9 kB / 0.9672 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.7627, allocations: 2.5 kB / 0.9672 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.7628, allocations: 9.031 kB / 0.9672 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.7629, allocations: 110.4 kB / 0.9673 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.763, allocations: 0 / 0.9673 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.763, allocations: 1.281 kB / 0.9673 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.763, allocations: 0 / 0.9673 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.7631, allocations: 72.73 kB / 0.9674 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.7636, allocations: 347.5 kB / 0.9677 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.7637, allocations: 108.6 kB / 0.9678 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.7638, allocations: 59.58 kB / 0.9679 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.7638, allocations: 4.812 kB / 0.9679 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.7639, allocations: 44.5 kB / 0.9679 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.7639, allocations: 0 / 0.9679 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003575/0.7642, allocations: 182 kB / 0.9681 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.7643, allocations: 133.6 kB / 0.9683 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.765, allocations: 0.4996 MB / 0.9687 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.765, allocations: 31.33 kB / 0.9688 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.7651, allocations: 163.7 kB / 0.9689 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.7652, allocations: 18.75 kB / 0.9689 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.7653, allocations: 46.17 kB / 0.969 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7654, allocations: 344.7 kB / 0.9693 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.7656, allocations: 117.1 kB / 0.9694 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.7658, allocations: 185 kB / 0.9696 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.7662, allocations: 266.7 kB / 0.9699 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7662, allocations: 0 / 0.9699 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004812/0.7667, allocations: 325 kB / 0.9702 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.7667, allocations: 11.59 kB / 0.9702 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.7667, allocations: 5.094 kB / 0.9702 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7668, allocations: 2.156 kB / 0.9702 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.7669, allocations: 20.39 kB / 0.9702 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.7669, allocations: 6.25 kB / 0.9702 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.7671, allocations: 24.28 kB / 0.9702 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.7672, allocations: 4.281 kB / 0.9702 GB, free: 7.922 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.0001812/0.7673, allocations: 187.6 kB / 0.9704 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.7674, allocations: 33.53 kB / 0.9704 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.7677, allocations: 178.1 kB / 0.9706 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.7678, allocations: 5.953 kB / 0.9706 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7678, allocations: 5.094 kB / 0.9706 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.7678, allocations: 1.031 kB / 0.9706 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.7681, allocations: 296.9 kB / 0.9709 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.7681, allocations: 1.125 kB / 0.9709 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/0.7682, allocations: 15.48 kB / 0.9709 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.7682, allocations: 4.875 kB / 0.9709 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.7682, allocations: 2.188 kB / 0.9709 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7682, allocations: 4.969 kB / 0.9709 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7682, allocations: 5.281 kB / 0.9709 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.7685, allocations: 189.7 kB / 0.9711 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.7687, allocations: 138.1 kB / 0.9713 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.7687, allocations: 2.656 kB / 0.9713 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.7689, allocations: 13.36 kB / 0.9713 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.7689, allocations: 11.27 kB / 0.9713 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.7689, allocations: 3.25 kB / 0.9713 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004595/0.7694, allocations: 378 kB / 0.9716 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7694, allocations: 0 / 0.9716 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009615/0.7704, allocations: 100.2 kB / 0.9717 GB, free: 6.793 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.005627/0.776, allocations: 2.801 MB / 0.9745 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.7765, allocations: 202.2 kB / 0.9747 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7765, allocations: 0 / 0.9747 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.7766, allocations: 50.42 kB / 0.9747 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.7771, allocations: 60.45 kB / 0.9748 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.7783, allocations: 0.6652 MB / 0.9754 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.7787, allocations: 0.8146 MB / 0.9762 GB, free: 4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.7789, allocations: 52.19 kB / 0.9763 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.7789, allocations: 23.02 kB / 0.9763 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7789, allocations: 0 / 0.9763 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of Templates: time 0.01603/0.795, allocations: 7.852 MB / 0.984 GB, free: 13.8 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