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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001413/0.001413, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00248/0.00248, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.7 MB / 0.7452 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 70.08 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3993, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002953/0.4023, allocations: 1.64 MB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.4033, allocations: 478.8 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.4034, allocations: 7.938 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.52e-05/0.4035, allocations: 11.86 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.4037, allocations: 43.69 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.4039, allocations: 27.91 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.4041, allocations: 139.4 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.4042, allocations: 27.98 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.4044, allocations: 67.7 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.4045, allocations: 55.77 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.4045, allocations: 8 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.054e-05/0.4046, allocations: 12 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.4046, allocations: 19.86 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.335e-05/0.4047, allocations: 55.73 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.4049, allocations: 99.95 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4049, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4049, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4049, allocations: 0 / 1.071 GB, free: 7.711 MB / 0.8262 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.0005925/0.4055, allocations: 403.1 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4056, allocations: 12.03 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.4056, allocations: 20.69 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.4059, allocations: 200.2 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4059, allocations: 4.375 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.4059, allocations: 12.31 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.4061, allocations: 73.98 kB / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4061, allocations: 0 / 1.072 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.4061, allocations: 4 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4061, allocations: 4 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.4062, allocations: 35.98 kB / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.4069, allocations: 487.2 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.4072, allocations: 151.7 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.4073, allocations: 28.89 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.4073, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.4073, allocations: 34.5 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.414e-06/0.4073, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005606/0.4079, allocations: 199.5 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.4079, allocations: 55.41 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.4081, allocations: 160.7 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.4081, allocations: 25.7 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.4082, allocations: 115.9 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.4082, allocations: 11.81 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.4082, allocations: 17.72 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.4083, allocations: 322.8 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/0.4084, allocations: 12 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.4084, allocations: 42.5 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.873e-05/0.4085, allocations: 32.86 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4085, allocations: 0 / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002285/0.4088, allocations: 98.5 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4088, allocations: 11.94 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4088, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.409, allocations: 24.86 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.147e-05/0.409, allocations: 12 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.4102, allocations: 1.391 MB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.4104, allocations: 15.81 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.4104, allocations: 0 / 1.075 GB, free: 3.297 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.623e-05/0.4105, allocations: 124.1 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.4105, allocations: 19.94 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.4106, allocations: 8.25 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4106, allocations: 4 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4106, allocations: 0 / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4106, allocations: 3.938 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.411, allocations: 363.5 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.411, allocations: 3.938 kB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.411, allocations: 4 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.4112, allocations: 24.84 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4112, allocations: 0 / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.4122, allocations: 1.406 MB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4122, allocations: 0 / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.4124, allocations: 184.3 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.4125, allocations: 89.02 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.4125, allocations: 4 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-05/0.4126, allocations: 7.922 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.4126, allocations: 0 / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4126, allocations: 4 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.428e-05/0.4127, allocations: 125.7 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4128, allocations: 3.938 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002721/0.413, allocations: 28 kB / 1.077 GB, free: 0.668 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.0001104/0.4131, allocations: 99.78 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.4135, allocations: 154.6 kB / 1.077 GB, free: 404 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.4135, allocations: 0 / 1.077 GB, free: 404 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.4137, allocations: 134.6 kB / 1.077 GB, free: 256 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.4141, allocations: 43.92 kB / 1.077 GB, free: 212 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.4145, allocations: 197.7 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4148, allocations: 0.6928 MB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.861e-05/0.4149, allocations: 17.05 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.4149, allocations: 11.44 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.4149, allocations: 0 / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of Templates: time 0.004611/0.4195, allocations: 1.721 MB / 1.08 GB, free: 13.54 MB / 0.8419 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