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.0009265/0.0009266, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001005/0.001004, allocations: 172.7 kB / 15.95 MB, free: 208 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.436/1.436, allocations: 223.2 MB / 240 MB, free: 5.316 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.332/2.332, allocations: 390.4 MB / 0.6655 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7697/0.7701, allocations: 142.3 MB / 0.9538 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity): time 0.001753/0.7719, allocations: 1.399 MB / 0.9552 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006859/0.7726, allocations: 435.3 kB / 0.9556 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.7727, allocations: 5.125 kB / 0.9556 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.7727, allocations: 3.938 kB / 0.9556 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.7728, allocations: 32.09 kB / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.773, allocations: 20.33 kB / 0.9557 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.7732, allocations: 110.4 kB / 0.9558 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.7733, allocations: 19.73 kB / 0.9558 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.7735, allocations: 49.33 kB / 0.9558 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.7736, allocations: 44.22 kB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.7736, allocations: 3.031 kB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.084e-05/0.7736, allocations: 3.594 kB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.7736, allocations: 14.27 kB / 0.9559 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.7737, allocations: 43.3 kB / 0.9559 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.151e-05/0.7738, allocations: 63.41 kB / 0.956 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7738, allocations: 1.312 kB / 0.956 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7738, allocations: 0 / 0.956 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.7738, allocations: 0 / 0.956 GB, free: 6.363 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.0005298/0.7744, allocations: 403.3 kB / 0.9564 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.7744, allocations: 12.44 kB / 0.9564 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.7744, allocations: 37.41 kB / 0.9564 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.7745, allocations: 12.11 kB / 0.9565 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.7747, allocations: 199.9 kB / 0.9566 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.7747, allocations: 5.5 kB / 0.9567 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.7748, allocations: 4.5 kB / 0.9567 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.775, allocations: 76.75 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.775, allocations: 5.094 kB / 0.9567 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.775, allocations: 7.953 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.775, allocations: 2.156 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.7752, allocations: 68.73 kB / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.7758, allocations: 363.1 kB / 0.9572 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.7762, allocations: 98.7 kB / 0.9572 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.7763, allocations: 45.45 kB / 0.9573 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.7764, allocations: 0 / 0.9573 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.7764, allocations: 31.72 kB / 0.9573 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.7764, allocations: 1.156 kB / 0.9573 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004188/0.7768, allocations: 134.8 kB / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.7769, allocations: 52.56 kB / 0.9575 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.777, allocations: 157.2 kB / 0.9577 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.777, allocations: 25.7 kB / 0.9577 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.7771, allocations: 108.8 kB / 0.9578 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.7771, allocations: 18.83 kB / 0.9578 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.7771, allocations: 3.938 kB / 0.9578 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.7772, allocations: 321.7 kB / 0.9581 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-05/0.7773, allocations: 26.42 kB / 0.9581 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.7774, allocations: 60.5 kB / 0.9582 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.7775, allocations: 35.52 kB / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7775, allocations: 3.969 kB / 0.9582 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002408/0.7778, allocations: 124.7 kB / 0.9583 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.7778, allocations: 6.938 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7778, allocations: 1.312 kB / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.7778, allocations: 0 / 0.9584 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.778, allocations: 27.8 kB / 0.9584 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006324/0.7786, allocations: 1.273 MB / 0.9596 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.7788, allocations: 24.27 kB / 0.9596 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.7788, allocations: 2.906 kB / 0.9597 GB, free: 2.82 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 7.354e-05/0.7789, allocations: 117.3 kB / 0.9598 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.7789, allocations: 9 kB / 0.9598 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.779, allocations: 19.92 kB / 0.9598 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.779, allocations: 0 / 0.9598 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.779, allocations: 0 / 0.9598 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.779, allocations: 1.969 kB / 0.9598 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.7792, allocations: 190.9 kB / 0.96 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7792, allocations: 3.953 kB / 0.96 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.7793, allocations: 36.97 kB / 0.96 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.7793, allocations: 5 kB / 0.96 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.7794, allocations: 1.031 kB / 0.96 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005585/0.7799, allocations: 1.284 MB / 0.9613 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7799, allocations: 1.469 kB / 0.9613 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.7802, allocations: 203.8 kB / 0.9615 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.7803, allocations: 92.11 kB / 0.9616 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.7803, allocations: 0 / 0.9616 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.7804, allocations: 6.688 kB / 0.9616 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.7805, allocations: 10.64 kB / 0.9616 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.7805, allocations: 5.25 kB / 0.9616 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.497e-05/0.7805, allocations: 117.1 kB / 0.9617 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7805, allocations: 0 / 0.9617 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002632/0.7808, allocations: 18.22 kB / 0.9617 GB, free: 0.6836 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.0004309/0.7813, allocations: 0.7461 MB / 0.9624 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.7816, allocations: 81.5 kB / 0.9625 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7816, allocations: 0 / 0.9625 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.7817, allocations: 43.41 kB / 0.9626 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.7821, allocations: 31.62 kB / 0.9626 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.7835, allocations: 0.7089 MB / 0.9633 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.7838, allocations: 0.7012 MB / 0.964 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.811e-05/0.7839, allocations: 9.938 kB / 0.964 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.784, allocations: 33.92 kB / 0.964 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.784, allocations: 0 / 0.964 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.7976, allocations: 2.719 MB / 0.9667 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.7978, allocations: 193.3 kB / 0.9668 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/3.104, allocations: 0 / 0.9668 GB, free: 13.12 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