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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001517/0.001517, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001889/0.001889, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.12/2.12, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 64.05 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5289/0.5305, allocations: 140.4 MB / 0.949 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.002096/0.5326, allocations: 1.688 MB / 0.9507 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005212/0.5331, allocations: 472.1 kB / 0.9511 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.5332, allocations: 1.344 kB / 0.9511 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.5332, allocations: 9.203 kB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.5334, allocations: 36.84 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.5335, allocations: 28.31 kB / 0.9512 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.5336, allocations: 137.3 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.5337, allocations: 27.53 kB / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.5338, allocations: 71.02 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.5339, allocations: 53.48 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.5339, allocations: 6.281 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.534, allocations: 5.438 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.534, allocations: 13.3 kB / 0.9515 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.534, allocations: 52.08 kB / 0.9516 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.718e-05/0.5341, allocations: 103.9 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5341, allocations: 0 / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5342, allocations: 1.062 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.5342, allocations: 0 / 0.9517 GB, free: 7.227 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.0003741/0.5345, allocations: 404.3 kB / 0.952 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.5346, allocations: 8.906 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.414e-05/0.5346, allocations: 41.16 kB / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.5346, allocations: 18.8 kB / 0.9521 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.5348, allocations: 200.6 kB / 0.9523 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.5348, allocations: 7 kB / 0.9523 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.5348, allocations: 9.562 kB / 0.9523 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.5349, allocations: 73.42 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.5349, allocations: 0 / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.5349, allocations: 4 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.535, allocations: 1.25 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.274e-05/0.535, allocations: 39.42 kB / 0.9524 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.5355, allocations: 487.4 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.5357, allocations: 154.2 kB / 0.953 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.5358, allocations: 24.42 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.5358, allocations: 3.984 kB / 0.9531 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.238e-06/0.5358, allocations: 31.84 kB / 0.9531 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.5358, allocations: 0 / 0.9531 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004454/0.5363, allocations: 200.4 kB / 0.9533 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.5363, allocations: 52.38 kB / 0.9533 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.5364, allocations: 160.3 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.5364, allocations: 26.73 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.5364, allocations: 109.2 kB / 0.9536 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.5364, allocations: 17.47 kB / 0.9536 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.5365, allocations: 27.55 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.5365, allocations: 317.6 kB / 0.954 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.5366, allocations: 17.42 kB / 0.954 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.759e-05/0.5366, allocations: 34.42 kB / 0.954 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.5367, allocations: 36.31 kB / 0.954 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5367, allocations: 0 / 0.954 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001762/0.5368, allocations: 102.1 kB / 0.9541 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5369, allocations: 5.062 kB / 0.9542 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.5369, allocations: 0 / 0.9542 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.537, allocations: 22.78 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.588e-05/0.5371, allocations: 6.5 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006607/0.5377, allocations: 1.305 MB / 0.9555 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.5378, allocations: 7.297 kB / 0.9555 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.5379, allocations: 1.375 kB / 0.9555 GB, free: 3.359 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.283e-05/0.5379, allocations: 122.5 kB / 0.9556 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.5379, allocations: 13.19 kB / 0.9556 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.538, allocations: 13.59 kB / 0.9556 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.538, allocations: 1.438 kB / 0.9556 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.538, allocations: 0 / 0.9556 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.538, allocations: 5.469 kB / 0.9556 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.5383, allocations: 372.3 kB / 0.956 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5383, allocations: 0 / 0.956 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.5383, allocations: 6.969 kB / 0.956 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.39e-05/0.5384, allocations: 30.97 kB / 0.956 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.5384, allocations: 3.938 kB / 0.956 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005925/0.539, allocations: 1.294 MB / 0.9573 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.539, allocations: 0 / 0.9573 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.5392, allocations: 186.6 kB / 0.9574 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.5392, allocations: 83.73 kB / 0.9575 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.5393, allocations: 5.25 kB / 0.9575 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.5394, allocations: 8.859 kB / 0.9575 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.5394, allocations: 2.406 kB / 0.9575 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.5394, allocations: 1.438 kB / 0.9575 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.5394, allocations: 124 kB / 0.9577 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5394, allocations: 0 / 0.9577 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002494/0.5397, allocations: 28.97 kB / 0.9577 GB, free: 1.066 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.0002888/0.54, allocations: 0.7173 MB / 0.9584 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.5402, allocations: 156.1 kB / 0.9585 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5403, allocations: 0 / 0.9585 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.5404, allocations: 136.3 kB / 0.9587 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.5407, allocations: 39.86 kB / 0.9587 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.5421, allocations: 1.575 MB / 0.9602 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.5423, allocations: 0.7008 MB / 0.9609 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.01e-05/0.5424, allocations: 16.95 kB / 0.9609 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.5424, allocations: 24.72 kB / 0.961 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.5425, allocations: 0 / 0.961 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9511/1.494, allocations: 2.908 MB / 0.9638 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/1.494, allocations: 235.3 kB / 0.964 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/3.644, allocations: 3.938 kB / 0.964 GB, free: 12.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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