Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001115/0.001115, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001387/0.001387, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.02/3.02, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004452, allocations: 9.938 kB / 0.9021 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3583, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001807/0.3602, allocations: 1.275 MB / 1.059 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3616, allocations: 0.8457 MB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.3617, allocations: 4 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.362, allocations: 55.72 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.3624, allocations: 111.5 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.502e-05/0.3625, allocations: 4 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.3629, allocations: 322.3 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.363, allocations: 48.73 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.3633, allocations: 119.5 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.3635, allocations: 135.4 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.075e-05/0.3636, allocations: 8 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.3665, allocations: 499.2 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.3666, allocations: 47.81 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.025e-05/0.3667, allocations: 69.52 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005422/0.3672, allocations: 435.4 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3672, allocations: 7.938 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3672, allocations: 0 / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.3673, allocations: 4 kB / 1.062 GB, free: 1.402 MB / 0.8106 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.001498/0.3688, allocations: 0.6031 MB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.3688, allocations: 8.031 kB / 1.062 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.3689, allocations: 35.62 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005612/0.3695, allocations: 357.3 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3696, allocations: 4 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3696, allocations: 11.95 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3698, allocations: 97 kB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3698, allocations: 3.938 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3698, allocations: 3.984 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3698, allocations: 8 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3699, allocations: 67.88 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.3704, allocations: 356 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3705, allocations: 106.4 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.3706, allocations: 59.41 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3707, allocations: 7.953 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3707, allocations: 38.55 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3707, allocations: 4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003673/0.3711, allocations: 181.1 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.3711, allocations: 128.5 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/0.3718, allocations: 0.5014 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3718, allocations: 25.7 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3719, allocations: 156.4 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.372, allocations: 16.25 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.372, allocations: 8 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3722, allocations: 342.8 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3723, allocations: 119.8 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.3725, allocations: 184 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.3727, allocations: 132 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3728, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004403/0.3732, allocations: 329 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3732, allocations: 11.98 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3732, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3733, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.3734, allocations: 19.98 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3734, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.3736, allocations: 23.83 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.3736, allocations: 4 kB / 1.066 GB, free: 13.18 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.3738, allocations: 185.7 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.3739, allocations: 31.58 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.3742, allocations: 187.6 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.3742, allocations: 0 / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.3743, allocations: 4.109 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3743, allocations: 8 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.3746, allocations: 297.3 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3746, allocations: 3.938 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.071e-05/0.3747, allocations: 12 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.3747, allocations: 3.953 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3747, allocations: 11.98 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3747, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3747, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.375, allocations: 195.4 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3752, allocations: 136.6 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.3752, allocations: 7.953 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3754, allocations: 7.984 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.3754, allocations: 4 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3754, allocations: 4 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004573/0.3759, allocations: 383 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3759, allocations: 0 / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004523/0.3764, allocations: 99.94 kB / 1.067 GB, free: 11.52 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003897/0.3768, allocations: 131.2 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.3771, allocations: 195.7 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3771, allocations: 4 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.015e-05/0.3772, allocations: 43.97 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.3776, allocations: 53.47 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3786, allocations: 0.6697 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.379, allocations: 0.8107 MB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.3792, allocations: 50.28 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.3793, allocations: 23.44 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.3793, allocations: 4 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of Templates: time 0.01255/0.3918, allocations: 6.423 MB / 1.075 GB, free: 3.102 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches