Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, 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.001189/0.001189, allocations: 198.7 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.43/2.43, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.89 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5776/0.5789, allocations: 140.4 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002232/0.5812, allocations: 1.629 MB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005956/0.5818, allocations: 473.4 kB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.5818, allocations: 1.25 kB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.5819, allocations: 12.92 kB / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.928e-05/0.582, allocations: 44.56 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.5821, allocations: 40.94 kB / 0.9518 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.5822, allocations: 142.9 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.5823, allocations: 22.19 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.5824, allocations: 62.59 kB / 0.9521 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.5825, allocations: 62.41 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.5826, allocations: 7.625 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.404e-05/0.5826, allocations: 8.344 kB / 0.9521 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.5826, allocations: 18.77 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.5827, allocations: 51.22 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.5828, allocations: 104.8 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5828, allocations: 0.8438 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5828, allocations: 0 / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.5828, allocations: 1.406 kB / 0.9523 GB, free: 7.105 MB / 0.7169 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.000434/0.5833, allocations: 410.5 kB / 0.9527 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5833, allocations: 13.66 kB / 0.9527 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.77e-05/0.5833, allocations: 41.3 kB / 0.9527 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.5834, allocations: 10.94 kB / 0.9528 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.5835, allocations: 201.5 kB / 0.9529 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.5836, allocations: 6.969 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.5836, allocations: 5.469 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.5837, allocations: 76.2 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.5837, allocations: 4 kB / 0.953 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.5837, allocations: 1.312 kB / 0.953 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5837, allocations: 13.14 kB / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.174e-05/0.5838, allocations: 31.44 kB / 0.9531 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.5843, allocations: 491.6 kB / 0.9535 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.5846, allocations: 149.9 kB / 0.9537 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.5847, allocations: 24.81 kB / 0.9537 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.5847, allocations: 0 / 0.9537 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.5847, allocations: 35.84 kB / 0.9537 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.5847, allocations: 3.938 kB / 0.9538 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005024/0.5852, allocations: 201.6 kB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.618e-05/0.5852, allocations: 51.41 kB / 0.954 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.5853, allocations: 160.2 kB / 0.9541 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.5854, allocations: 25.7 kB / 0.9542 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.5854, allocations: 110.3 kB / 0.9543 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.5854, allocations: 16.92 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.5855, allocations: 28.03 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.766e-05/0.5855, allocations: 320.1 kB / 0.9546 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.5855, allocations: 11.72 kB / 0.9546 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.5856, allocations: 37 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.311e-05/0.5857, allocations: 35.3 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5857, allocations: 1.469 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002058/0.5859, allocations: 98.12 kB / 0.9548 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5859, allocations: 4.656 kB / 0.9548 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5859, allocations: 1.25 kB / 0.9548 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.5861, allocations: 22.5 kB / 0.9548 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.096e-05/0.5861, allocations: 9.266 kB / 0.9548 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007647/0.5869, allocations: 1.401 MB / 0.9562 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.587, allocations: 7.781 kB / 0.9562 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.587, allocations: 4.969 kB / 0.9562 GB, free: 3.129 MB / 0.7169 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 5.886e-05/0.5871, allocations: 122.2 kB / 0.9563 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.5871, allocations: 9.406 kB / 0.9563 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.13e-05/0.5872, allocations: 18.45 kB / 0.9564 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.5872, allocations: 1.156 kB / 0.9564 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.5872, allocations: 3.938 kB / 0.9564 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5872, allocations: 3.938 kB / 0.9564 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004003/0.5876, allocations: 365.1 kB / 0.9567 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5876, allocations: 0 / 0.9567 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.5876, allocations: 11.58 kB / 0.9567 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.659e-05/0.5877, allocations: 21.66 kB / 0.9567 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.5877, allocations: 1.25 kB / 0.9567 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006811/0.5884, allocations: 1.392 MB / 0.9581 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5884, allocations: 3.938 kB / 0.9581 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.5886, allocations: 179.2 kB / 0.9583 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.5887, allocations: 87.23 kB / 0.9584 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.5887, allocations: 8.969 kB / 0.9584 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.5888, allocations: 5.156 kB / 0.9584 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.5888, allocations: 10.36 kB / 0.9584 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.5888, allocations: 1.281 kB / 0.9584 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.048e-05/0.5889, allocations: 120.9 kB / 0.9585 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5889, allocations: 5.094 kB / 0.9585 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002733/0.5892, allocations: 31.66 kB / 0.9585 GB, free: 0.7344 MB / 0.7169 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.0003621/0.5895, allocations: 0.7176 MB / 0.9592 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.5899, allocations: 155.6 kB / 0.9594 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5899, allocations: 0 / 0.9594 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.5901, allocations: 132.7 kB / 0.9595 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.5905, allocations: 33.83 kB / 0.9595 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.5922, allocations: 1.558 MB / 0.9611 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.5925, allocations: 0.6978 MB / 0.9618 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.483e-05/0.5926, allocations: 5.703 kB / 0.9618 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.5926, allocations: 31.95 kB / 0.9618 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5926, allocations: 0 / 0.9618 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.6143, allocations: 3.087 MB / 0.9648 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.048/9.663, allocations: 7.578 kB / 0.9648 GB, free: 12.05 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches