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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0009458/0.0009459, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009654/0.0009656, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8315/0.8319, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity): time 0.002185/0.8341, allocations: 1.375 MB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007345/0.8349, allocations: 439.2 kB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.835, allocations: 1.438 kB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.835, allocations: 7.922 kB / 0.9553 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.8352, allocations: 41.39 kB / 0.9554 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.8353, allocations: 19.59 kB / 0.9554 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.8354, allocations: 81.75 kB / 0.9555 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.8356, allocations: 19.48 kB / 0.9555 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.8358, allocations: 50.67 kB / 0.9555 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/0.8358, allocations: 44.03 kB / 0.9556 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.8359, allocations: 3.656 kB / 0.9556 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.8359, allocations: 7.344 kB / 0.9556 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.8359, allocations: 13.98 kB / 0.9556 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.836, allocations: 37.83 kB / 0.9556 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.505e-05/0.8361, allocations: 64.34 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8361, allocations: 0 / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8361, allocations: 4 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8361, allocations: 0.9688 kB / 0.9557 GB, free: 6.418 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.0005423/0.8366, allocations: 398.1 kB / 0.9561 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.8367, allocations: 13.12 kB / 0.9561 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.8367, allocations: 44.75 kB / 0.9562 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.8368, allocations: 17.48 kB / 0.9562 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.837, allocations: 196.5 kB / 0.9564 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.837, allocations: 6.969 kB / 0.9564 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.837, allocations: 4.312 kB / 0.9564 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.8373, allocations: 80.61 kB / 0.9564 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.8373, allocations: 0 / 0.9564 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.8373, allocations: 9.359 kB / 0.9565 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.8373, allocations: 1.281 kB / 0.9565 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.8375, allocations: 73.08 kB / 0.9565 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.8381, allocations: 413.9 kB / 0.9569 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.8385, allocations: 99.73 kB / 0.957 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.8385, allocations: 0 / 0.957 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.8385, allocations: 40 kB / 0.9571 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.8385, allocations: 0 / 0.9571 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004052/0.8389, allocations: 127.2 kB / 0.9572 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.839, allocations: 56.5 kB / 0.9572 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.8391, allocations: 156.4 kB / 0.9574 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.8391, allocations: 27.11 kB / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.8392, allocations: 99.84 kB / 0.9575 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.8392, allocations: 18.28 kB / 0.9575 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.8392, allocations: 1.219 kB / 0.9575 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.8393, allocations: 321.5 kB / 0.9578 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.8394, allocations: 37.55 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.8395, allocations: 48.95 kB / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.8396, allocations: 36.11 kB / 0.9579 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8396, allocations: 0 / 0.9579 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002475/0.8399, allocations: 120.3 kB / 0.9581 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8399, allocations: 4.969 kB / 0.9581 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8399, allocations: 6.031 kB / 0.9581 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.8399, allocations: 0 / 0.9581 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.8401, allocations: 31.25 kB / 0.9581 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005766/0.8407, allocations: 1.284 MB / 0.9593 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.8408, allocations: 23.11 kB / 0.9594 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.8408, allocations: 1.75 kB / 0.9594 GB, free: 2.832 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.766e-05/0.8409, allocations: 115.2 kB / 0.9595 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.8409, allocations: 11.64 kB / 0.9595 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.841, allocations: 20.3 kB / 0.9595 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.841, allocations: 0 / 0.9595 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.841, allocations: 1.812 kB / 0.9595 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.841, allocations: 0 / 0.9595 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.8412, allocations: 193.7 kB / 0.9597 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8412, allocations: 1.875 kB / 0.9597 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.8413, allocations: 29.06 kB / 0.9597 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.8413, allocations: 5.266 kB / 0.9597 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.8414, allocations: 4.109 kB / 0.9597 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004569/0.8418, allocations: 1.286 MB / 0.961 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8418, allocations: 256 / 0.961 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.8421, allocations: 203.8 kB / 0.9612 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.8421, allocations: 88.38 kB / 0.9613 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.8422, allocations: 5.172 kB / 0.9613 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.8423, allocations: 10.19 kB / 0.9613 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.8423, allocations: 10.39 kB / 0.9613 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.8423, allocations: 5.281 kB / 0.9613 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.75e-05/0.8424, allocations: 117.7 kB / 0.9614 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8424, allocations: 0 / 0.9614 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002586/0.8427, allocations: 18.66 kB / 0.9614 GB, free: 0.6953 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004833/0.8432, allocations: 0.7411 MB / 0.9622 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003282/0.8435, allocations: 77.08 kB / 0.9622 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.8435, allocations: 1.125 kB / 0.9622 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.8437, allocations: 43.91 kB / 0.9623 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.844, allocations: 33.03 kB / 0.9623 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.8454, allocations: 0.86 MB / 0.9631 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.8457, allocations: 0.7073 MB / 0.9638 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.908e-05/0.8458, allocations: 10.16 kB / 0.9638 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.8459, allocations: 32.86 kB / 0.9639 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.8459, allocations: 5.375 kB / 0.9639 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.8599, allocations: 2.701 MB / 0.9665 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.8601, allocations: 188.2 kB / 0.9667 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.931, allocations: 1.125 kB / 0.9667 GB, free: 12.98 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity_res.mat does not exist to compare? outputFormat=mat