Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") translateModel(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009107/0.0009107, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001016/0.001016, allocations: 181.8 kB / 16.28 MB, free: 6.656 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.888/2.888, allocations: 462.7 MB / 0.7364 GB, free: 244 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003984, allocations: 12.5 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3592, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.001995/0.3613, allocations: 1.34 MB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008955/0.3622, allocations: 474.7 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3624, allocations: 4 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.3624, allocations: 7.922 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.3626, allocations: 43.69 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.3628, allocations: 19.98 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.363, allocations: 143.3 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3631, allocations: 31.97 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.3633, allocations: 51.78 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3634, allocations: 51.77 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.3635, allocations: 7.938 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/0.3635, allocations: 4 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.3635, allocations: 23.91 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.3636, allocations: 69.44 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.3638, allocations: 99.94 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3638, allocations: 0 / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3638, allocations: 0 / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.3638, allocations: 0 / 1.061 GB, free: 3.09 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005005/0.3643, allocations: 383.2 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3643, allocations: 8.031 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.3644, allocations: 16.75 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3646, allocations: 208.1 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3647, allocations: 8.375 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.3647, allocations: 4.375 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3648, allocations: 73.98 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3649, allocations: 0 / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3649, allocations: 0 / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3649, allocations: 0 / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.365, allocations: 35.98 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007252/0.3657, allocations: 0.4914 MB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.366, allocations: 143.7 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.935e-05/0.3661, allocations: 32.88 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.3661, allocations: 4.031 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3662, allocations: 38.5 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.3662, allocations: 0 / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005842/0.3668, allocations: 195.5 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3668, allocations: 51.41 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.367, allocations: 169 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.367, allocations: 29.7 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3671, allocations: 111.9 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.3671, allocations: 7.812 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.3671, allocations: 21.7 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3673, allocations: 314.8 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.3673, allocations: 15.98 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.538e-05/0.3674, allocations: 38.58 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.355e-05/0.3674, allocations: 36.84 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3674, allocations: 0 / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002134/0.3677, allocations: 98.31 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3677, allocations: 6.031 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3677, allocations: 0 / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.3679, allocations: 24.84 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.945e-05/0.3679, allocations: 4 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.3691, allocations: 1.308 MB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.3693, allocations: 11.83 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.3693, allocations: 4.188 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.3694, allocations: 119.3 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3695, allocations: 7.906 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.3695, allocations: 20.19 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3695, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3695, allocations: 0 / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3695, allocations: 4.062 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.37, allocations: 359.5 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.37, allocations: 4 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.37, allocations: 48 / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.651e-05/0.3701, allocations: 32.83 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3701, allocations: 3.938 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009516/0.3711, allocations: 1.303 MB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3711, allocations: 0 / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.3713, allocations: 188.3 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.3714, allocations: 89.02 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.3714, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.3715, allocations: 3.984 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.3715, allocations: 4 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3715, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.842e-05/0.3716, allocations: 129.9 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3716, allocations: 3.938 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002612/0.3719, allocations: 28 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001088/0.372, allocations: 95.25 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.3723, allocations: 158.8 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3724, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3725, allocations: 142.7 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3729, allocations: 37.75 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.3733, allocations: 229.7 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3736, allocations: 0.697 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.329e-05/0.3737, allocations: 13.02 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.3737, allocations: 11.44 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3737, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.004438/0.3782, allocations: 1.633 MB / 1.07 GB, free: 9.215 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & ./Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches