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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 180.8 kB / 487.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008756/0.0008755, allocations: 99.84 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.478e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8221/1.036, allocations: 150.3 MB / 1.353 GB, free: 17.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/1.036, allocations: 72.7 kB / 1.353 GB, free: 17.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006808/1.043, allocations: 2.192 MB / 1.355 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.014e-06/1.043, allocations: 3.938 kB / 1.355 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.096e-05/1.043, allocations: 5.312 kB / 1.355 GB, free: 33.46 MB / 0.8386 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.0004152/1.044, allocations: 391.9 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.044, allocations: 11.59 kB / 1.355 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/1.044, allocations: 12.28 kB / 1.355 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/1.044, allocations: 204 kB / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/1.044, allocations: 7.906 kB / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/1.044, allocations: 0 / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.647e-05/1.044, allocations: 32.22 kB / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.277e-05/1.044, allocations: 57.69 kB / 1.356 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/1.044, allocations: 0 / 1.356 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.044, allocations: 0 / 1.356 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/1.044, allocations: 3.875 kB / 1.356 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/1.045, allocations: 334.8 kB / 1.356 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/1.045, allocations: 69.52 kB / 1.356 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/1.045, allocations: 22.77 kB / 1.356 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/1.045, allocations: 0 / 1.356 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/1.045, allocations: 38.5 kB / 1.356 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/1.045, allocations: 0 / 1.356 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001596/1.045, allocations: 69.16 kB / 1.356 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/1.045, allocations: 51.41 kB / 1.356 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/1.045, allocations: 133.9 kB / 1.356 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/1.045, allocations: 25.7 kB / 1.356 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/1.045, allocations: 104.8 kB / 1.356 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/1.045, allocations: 20.23 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/1.045, allocations: 0 / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.046, allocations: 321.5 kB / 1.357 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/1.046, allocations: 10.78 kB / 1.357 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-05/1.046, allocations: 37.14 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/1.046, allocations: 14.06 kB / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/1.046, allocations: 0 / 1.357 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.787e-05/1.046, allocations: 73.11 kB / 1.357 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.046, allocations: 7.906 kB / 1.357 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/1.046, allocations: 3.844 kB / 1.357 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/1.046, allocations: 0.6562 kB / 1.357 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/1.046, allocations: 32.55 kB / 1.357 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006398/1.047, allocations: 1.24 MB / 1.358 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/1.047, allocations: 14.45 kB / 1.358 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.047, allocations: 7.438 kB / 1.358 GB, free: 30.5 MB / 0.8386 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 () * 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.497e-05/1.047, allocations: 105.2 kB / 1.358 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.442e-05/1.047, allocations: 69.58 kB / 1.358 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/1.047, allocations: 7.781 kB / 1.358 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/1.047, allocations: 21.78 kB / 1.358 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/1.047, allocations: 0 / 1.358 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/1.047, allocations: 0 / 1.358 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/1.047, allocations: 4.547 kB / 1.358 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/1.047, allocations: 165.5 kB / 1.359 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/1.047, allocations: 0 / 1.359 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/1.047, allocations: 28.19 kB / 1.359 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/1.047, allocations: 4.562 kB / 1.359 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/1.047, allocations: 3.938 kB / 1.359 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005397/1.048, allocations: 1.227 MB / 1.36 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.048, allocations: 3.953 kB / 1.36 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/1.048, allocations: 165.2 kB / 1.36 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/1.048, allocations: 94.06 kB / 1.36 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/1.048, allocations: 4 kB / 1.36 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/1.048, allocations: 10.75 kB / 1.36 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/1.048, allocations: 6.266 kB / 1.36 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/1.048, allocations: 7.828 kB / 1.36 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.544e-05/1.048, allocations: 107 kB / 1.36 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.048, allocations: 0 / 1.36 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002378/1.049, allocations: 19.31 kB / 1.36 GB, free: 28.59 MB / 0.8386 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 () * 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.0003195/1.049, allocations: 0.6975 MB / 1.361 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001537/1.049, allocations: 38.72 kB / 1.361 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.049, allocations: 0 / 1.361 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/1.049, allocations: 27.94 kB / 1.361 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/1.05, allocations: 28.72 kB / 1.361 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/1.05, allocations: 159.2 kB / 1.361 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/1.05, allocations: 0.7011 MB / 1.362 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.572e-05/1.05, allocations: 14.64 kB / 1.362 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/1.05, allocations: 32.5 kB / 1.362 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.05, allocations: 0 / 1.362 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/1.07, allocations: 2.214 MB / 1.364 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/1.071, allocations: 156 kB / 1.364 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/2.539, allocations: 0 / 1.364 GB, free: 26.77 MB / 0.8386 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