Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity,fileNamePrefix="Buildings_latest_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.00717/0.00717, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001645/0.001645, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.596/2.596, allocations: 469.4 MB / 0.7422 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 63.91 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.7422, allocations: 159.1 MB / 1.22 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity): time 0.002816/0.745, allocations: 1.708 MB / 1.221 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.7458, allocations: 463.8 kB / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.4e-05/0.7459, allocations: 0 / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.746, allocations: 11.86 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.7461, allocations: 35.72 kB / 1.222 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.7463, allocations: 31.89 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.7465, allocations: 127.4 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.7466, allocations: 15.94 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.7468, allocations: 63.77 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.7469, allocations: 43.78 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.747, allocations: 8 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.747, allocations: 4 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.747, allocations: 27.84 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.7471, allocations: 51.78 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.7472, allocations: 87.3 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.7473, allocations: 0 / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7473, allocations: 4 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.7473, allocations: 0 / 1.222 GB, free: 15.61 MB / 0.9512 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.0005771/0.7479, allocations: 411 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7479, allocations: 12.62 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.748, allocations: 34.75 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.748, allocations: 16.84 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.7483, allocations: 206.4 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.7483, allocations: 384 / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.7483, allocations: 8.375 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.7485, allocations: 85.72 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.7485, allocations: 0 / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.7485, allocations: 0 / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.7485, allocations: 4 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.7488, allocations: 55.95 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.7493, allocations: 368.6 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.7497, allocations: 86.62 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.7499, allocations: 32.95 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.7499, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.7499, allocations: 34.56 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.7499, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.000399/0.7503, allocations: 125.5 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.7504, allocations: 55.41 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.7505, allocations: 152.7 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.7505, allocations: 33.7 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.7506, allocations: 100.1 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.7506, allocations: 19.84 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.7507, allocations: 21.7 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7508, allocations: 322.8 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.7509, allocations: 23.97 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.751, allocations: 50.66 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.7512, allocations: 73.56 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7513, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002648/0.7515, allocations: 109.5 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.7516, allocations: 7.938 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7516, allocations: 4.062 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7516, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.7518, allocations: 31.97 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008955/0.7527, allocations: 1.377 MB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.7528, allocations: 12.02 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.7528, allocations: 0 / 1.226 GB, free: 11.4 MB / 0.9512 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 9.184e-05/0.7529, allocations: 121.8 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.753, allocations: 15.98 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.753, allocations: 20.7 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.753, allocations: 0 / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.753, allocations: 0 / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.753, allocations: 0 / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.7532, allocations: 193.6 kB / 1.226 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.7532, allocations: 3.938 kB / 1.226 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.7534, allocations: 27.98 kB / 1.226 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7534, allocations: 0 / 1.226 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.7535, allocations: 3.984 kB / 1.226 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000732/0.7542, allocations: 1.374 MB / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7542, allocations: 4.031 kB / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.7545, allocations: 191.3 kB / 1.228 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.7546, allocations: 89.05 kB / 1.228 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.7546, allocations: 0 / 1.228 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.7547, allocations: 8.062 kB / 1.228 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.7547, allocations: 15.98 kB / 1.228 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.7548, allocations: 4 kB / 1.228 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.231e-05/0.7549, allocations: 120.9 kB / 1.228 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7549, allocations: 0 / 1.228 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002677/0.7551, allocations: 16 kB / 1.228 GB, free: 8.98 MB / 0.9512 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.0005357/0.7557, allocations: 0.728 MB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.756, allocations: 75.92 kB / 1.229 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.756, allocations: 0 / 1.229 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.7562, allocations: 35.98 kB / 1.229 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.7565, allocations: 43.78 kB / 1.229 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.7584, allocations: 1.607 MB / 1.231 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.7586, allocations: 0.6924 MB / 1.231 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.821e-05/0.7587, allocations: 20.53 kB / 1.231 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.7588, allocations: 27.42 kB / 1.231 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.7588, allocations: 0 / 1.231 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.7774, allocations: 3.098 MB / 1.234 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.794, allocations: 15.34 kB / 1.234 GB, free: 2.637 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity.fmu > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches