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.001527/0.001527, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001649/0.001649, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.512/2.512, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 68.11 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7556/0.757, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003016/0.7601, allocations: 1.592 MB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.7617, allocations: 0.9112 MB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.7618, allocations: 11.94 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.7621, allocations: 63.7 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005316/0.7627, allocations: 147.3 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.786e-05/0.7628, allocations: 11.98 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.7632, allocations: 366.3 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.238e-05/0.7633, allocations: 44.73 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.7636, allocations: 151.4 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.7638, allocations: 143.3 kB / 1.171 GB, free: 456 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.7639, allocations: 16 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.615e-05/0.7639, allocations: 16 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.764, allocations: 43.77 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.7642, allocations: 131.2 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.7645, allocations: 295.2 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7645, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7646, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.7646, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 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.001153/0.7657, allocations: 0.634 MB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7658, allocations: 8.922 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.453e-05/0.7659, allocations: 32.75 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.7664, allocations: 394.5 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.7665, allocations: 4.375 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.7665, allocations: 4.375 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.7666, allocations: 101.3 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.7667, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7667, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.7667, allocations: 8 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.7668, allocations: 67.88 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.7672, allocations: 352.1 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.7674, allocations: 110.4 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.252e-05/0.7675, allocations: 67.39 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.7675, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.7675, allocations: 38.44 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.7675, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0003627/0.7679, allocations: 185.3 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.768, allocations: 136.5 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/0.7686, allocations: 0.5132 MB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.7687, allocations: 25.7 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.7688, allocations: 164.1 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.7688, allocations: 12.34 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.7689, allocations: 29.7 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.769, allocations: 338.8 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.7691, allocations: 35.95 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.7692, allocations: 55.41 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.7693, allocations: 107.3 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7693, allocations: 0 / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002234/0.7696, allocations: 149.3 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.7696, allocations: 10.28 kB / 1.175 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7696, allocations: 4 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.7696, allocations: 0 / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.7697, allocations: 11.98 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.7698, allocations: 4.125 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.7699, allocations: 19.92 kB / 1.175 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.7699, allocations: 96 / 1.175 GB, free: 12.06 MB / 0.9044 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.0001588/0.7701, allocations: 173.8 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.7702, allocations: 43.66 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.7705, allocations: 183.8 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.7705, allocations: 8.031 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7705, allocations: 0 / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7705, allocations: 0 / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.7708, allocations: 317.4 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7709, allocations: 0 / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.769e-05/0.771, allocations: 23.92 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.771, allocations: 3.938 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.771, allocations: 7.938 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.771, allocations: 0 / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.771, allocations: 0 / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.7713, allocations: 191.4 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.7714, allocations: 140.8 kB / 1.176 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.7715, allocations: 8 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.7716, allocations: 7.984 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.7717, allocations: 11.94 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.7717, allocations: 7.984 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004426/0.7721, allocations: 395 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7721, allocations: 0 / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002638/0.7724, allocations: 36 kB / 1.176 GB, free: 10.43 MB / 0.9044 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.0001298/0.7725, allocations: 95.25 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.7727, allocations: 91.86 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7727, allocations: 4.25 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/0.7728, allocations: 51.89 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.7732, allocations: 74.78 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.7742, allocations: 0.6092 MB / 1.177 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.7746, allocations: 0.8104 MB / 1.178 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.7747, allocations: 27.44 kB / 1.178 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.7747, allocations: 0 / 1.178 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of Templates: time 0.006607/0.7813, allocations: 3.711 MB / 1.181 GB, free: 4.898 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches