Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.OpaqueSurface,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",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.001012/0.001012, allocations: 99.86 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.0009986/0.0009987, allocations: 177.3 kB / 15.94 MB, free: 228 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.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.451/2.451, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003702, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.8343, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface): time 0.00173/0.8361, allocations: 1.27 MB / 0.9548 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000686/0.8368, allocations: 458.6 kB / 0.9553 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.8369, allocations: 0.9688 kB / 0.9553 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.8369, allocations: 16.92 kB / 0.9553 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.837, allocations: 42.45 kB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.8372, allocations: 24.22 kB / 0.9553 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.8374, allocations: 90.55 kB / 0.9554 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.8375, allocations: 35.94 kB / 0.9555 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.8377, allocations: 54.44 kB / 0.9555 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.8378, allocations: 45.92 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.8378, allocations: 4.969 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.8378, allocations: 3.719 kB / 0.9556 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.8379, allocations: 14.48 kB / 0.9556 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.8379, allocations: 47.52 kB / 0.9556 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.838, allocations: 79.78 kB / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.838, allocations: 0 / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8381, allocations: 0 / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.8381, allocations: 0.9062 kB / 0.9557 GB, free: 6.43 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004994/0.8386, allocations: 386.8 kB / 0.9561 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.8386, allocations: 14.12 kB / 0.9561 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.8387, allocations: 36.69 kB / 0.9561 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.8387, allocations: 17.73 kB / 0.9561 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.8389, allocations: 196.7 kB / 0.9563 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.839, allocations: 2.438 kB / 0.9563 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.839, allocations: 8.406 kB / 0.9563 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.8391, allocations: 68.89 kB / 0.9564 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.8392, allocations: 0 / 0.9564 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.8392, allocations: 5.062 kB / 0.9564 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.8392, allocations: 5.078 kB / 0.9564 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.8393, allocations: 34.73 kB / 0.9564 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.8399, allocations: 493.8 kB / 0.9569 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.8402, allocations: 148.8 kB / 0.957 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.8402, allocations: 4.844 kB / 0.9571 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.8403, allocations: 31.59 kB / 0.9571 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.8403, allocations: 1.125 kB / 0.9571 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005547/0.8408, allocations: 192.5 kB / 0.9573 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.8409, allocations: 52.97 kB / 0.9573 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.841, allocations: 162.3 kB / 0.9575 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.841, allocations: 26.98 kB / 0.9575 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.8411, allocations: 116.9 kB / 0.9576 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.8411, allocations: 14.06 kB / 0.9576 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.8411, allocations: 0 / 0.9576 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.8412, allocations: 325.3 kB / 0.9579 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.8413, allocations: 10.19 kB / 0.9579 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.8413, allocations: 40.64 kB / 0.958 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.8414, allocations: 20.81 kB / 0.958 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8414, allocations: 0 / 0.958 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001974/0.8416, allocations: 98.33 kB / 0.9581 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.8416, allocations: 4.812 kB / 0.9581 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.8416, allocations: 0 / 0.9581 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.8418, allocations: 27.27 kB / 0.9581 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.8419, allocations: 5.75 kB / 0.9581 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000882/0.8428, allocations: 1.306 MB / 0.9594 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.8429, allocations: 16.45 kB / 0.9594 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.8429, allocations: 1.531 kB / 0.9594 GB, free: 2.625 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.287e-05/0.843, allocations: 118.2 kB / 0.9595 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.843, allocations: 8.281 kB / 0.9595 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.8431, allocations: 18.98 kB / 0.9596 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.8431, allocations: 0 / 0.9596 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8431, allocations: 0.9375 kB / 0.9596 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8431, allocations: 4 kB / 0.9596 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.8435, allocations: 356.9 kB / 0.9599 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.8435, allocations: 0 / 0.9599 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.8435, allocations: 11.08 kB / 0.9599 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.788e-05/0.8436, allocations: 22.81 kB / 0.9599 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.8436, allocations: 3.953 kB / 0.9599 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007651/0.8444, allocations: 1.321 MB / 0.9612 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8444, allocations: 0 / 0.9612 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.8446, allocations: 175 kB / 0.9614 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.8447, allocations: 92.55 kB / 0.9615 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.8447, allocations: 4 kB / 0.9615 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.8448, allocations: 4 kB / 0.9615 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.8448, allocations: 10.67 kB / 0.9615 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.8448, allocations: 1.375 kB / 0.9615 GB, free: 440 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.845e-05/0.8449, allocations: 120.1 kB / 0.9616 GB, free: 344 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8449, allocations: 5.312 kB / 0.9616 GB, free: 340 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002673/0.8452, allocations: 32.72 kB / 0.9617 GB, free: 336 kB / 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004556/0.8456, allocations: 0.7083 MB / 0.9624 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.846, allocations: 156.2 kB / 0.9625 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.846, allocations: 1.562 kB / 0.9625 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.8462, allocations: 136.5 kB / 0.9626 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.8465, allocations: 33.45 kB / 0.9627 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.8479, allocations: 0.6599 MB / 0.9633 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.8483, allocations: 0.6989 MB / 0.964 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.444e-05/0.8483, allocations: 12.69 kB / 0.964 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.291e-05/0.8484, allocations: 25.06 kB / 0.964 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.8484, allocations: 0 / 0.964 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.865, allocations: 2.803 MB / 0.9668 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.8653, allocations: 206.4 kB / 0.967 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.918, allocations: 0 / 0.967 GB, free: 12.54 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat does not exist to compare? outputFormat=mat