Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.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.OutdoorRadiosity,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity",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.001097/0.001097, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00113/0.00113, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.488 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.124/2.124, allocations: 390.3 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.8121 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6179/0.6192, allocations: 140.4 MB / 0.9492 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity): time 0.002452/0.6217, allocations: 1.771 MB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005584/0.6222, allocations: 457.8 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.6223, allocations: 1.375 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.6224, allocations: 11.92 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.6225, allocations: 33.27 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.6226, allocations: 24.09 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.6228, allocations: 121.8 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.6229, allocations: 25.88 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.623, allocations: 62.52 kB / 0.9517 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.826e-05/0.6231, allocations: 43.69 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.6231, allocations: 10.66 kB / 0.9517 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.6231, allocations: 8.125 kB / 0.9517 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.6232, allocations: 13.48 kB / 0.9517 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.6232, allocations: 50.3 kB / 0.9518 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.6233, allocations: 96.31 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6233, allocations: 0 / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6233, allocations: 1.062 kB / 0.9519 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6233, allocations: 0 / 0.9519 GB, free: 6.984 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004971/0.6238, allocations: 405.6 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.6239, allocations: 9.562 kB / 0.9523 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.6239, allocations: 36.53 kB / 0.9523 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.624, allocations: 18.66 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.6241, allocations: 197.6 kB / 0.9525 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.6241, allocations: 6.719 kB / 0.9525 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.6241, allocations: 3.781 kB / 0.9525 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.6243, allocations: 76.97 kB / 0.9526 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.6244, allocations: 1.156 kB / 0.9526 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.6244, allocations: 4 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6244, allocations: 1.625 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.6246, allocations: 67.39 kB / 0.9527 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.6251, allocations: 358.8 kB / 0.953 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.6254, allocations: 86.16 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.6256, allocations: 41.45 kB / 0.9531 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.6256, allocations: 0 / 0.9531 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.6256, allocations: 32.03 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.6256, allocations: 0 / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003685/0.626, allocations: 128.3 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.626, allocations: 52.78 kB / 0.9533 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.732e-05/0.6261, allocations: 153.2 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.6261, allocations: 29.7 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.6262, allocations: 96.56 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.6262, allocations: 22.38 kB / 0.9536 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.6262, allocations: 19.28 kB / 0.9536 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.6263, allocations: 329.2 kB / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.6264, allocations: 29.44 kB / 0.954 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.6265, allocations: 48.45 kB / 0.954 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.6267, allocations: 72.33 kB / 0.9541 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6267, allocations: 4.031 kB / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002269/0.6269, allocations: 103.2 kB / 0.9542 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6269, allocations: 4.656 kB / 0.9542 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.627, allocations: 1.094 kB / 0.9542 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.627, allocations: 0.6875 kB / 0.9542 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.6272, allocations: 25.23 kB / 0.9542 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/0.6277, allocations: 1.38 MB / 0.9556 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.6279, allocations: 21.83 kB / 0.9556 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.6279, allocations: 2.344 kB / 0.9556 GB, free: 3.301 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.628, allocations: 113.6 kB / 0.9557 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.628, allocations: 12.91 kB / 0.9557 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.628, allocations: 15.19 kB / 0.9557 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.628, allocations: 0 / 0.9557 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.628, allocations: 5.391 kB / 0.9557 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.628, allocations: 7.922 kB / 0.9557 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.6282, allocations: 190.9 kB / 0.9559 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6282, allocations: 3.938 kB / 0.9559 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.6284, allocations: 27.67 kB / 0.956 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6284, allocations: 1.188 kB / 0.956 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.6284, allocations: 5.156 kB / 0.956 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004552/0.6289, allocations: 1.37 MB / 0.9573 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6289, allocations: 4.156 kB / 0.9573 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.6291, allocations: 195.5 kB / 0.9575 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.6292, allocations: 83.36 kB / 0.9576 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.6292, allocations: 1.062 kB / 0.9576 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.6293, allocations: 7.391 kB / 0.9576 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.6294, allocations: 14.8 kB / 0.9576 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.6294, allocations: 5.219 kB / 0.9576 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.6294, allocations: 110.1 kB / 0.9577 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6294, allocations: 1.688 kB / 0.9577 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002764/0.6297, allocations: 25.08 kB / 0.9577 GB, free: 1.07 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003928/0.6301, allocations: 0.7296 MB / 0.9584 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.6304, allocations: 75.97 kB / 0.9585 GB, free: 340 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6304, allocations: 1.125 kB / 0.9585 GB, free: 340 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.6306, allocations: 30.67 kB / 0.9585 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.631, allocations: 43.38 kB / 0.9586 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.6328, allocations: 1.628 MB / 0.9602 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.633, allocations: 0.7007 MB / 0.9609 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.436e-05/0.6331, allocations: 14.66 kB / 0.9609 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.6332, allocations: 34.2 kB / 0.9609 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6332, allocations: 0 / 0.9609 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.6501, allocations: 2.892 MB / 0.9637 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/0.6504, allocations: 210.3 kB / 0.9639 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.456, allocations: 0 / 0.9639 GB, free: 12.46 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity.fmu > Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches