Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.081/2.081, allocations: 390.5 MB / 398 MB, free: 10.94 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.0009921/0.0009921, allocations: 184.8 kB / 491.2 MB, free: 1.559 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.444/1.444, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008845/0.0008848, allocations: 95.83 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.383e-05/1.391e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2184, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7483/0.9667, allocations: 150.5 MB / 1.359 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.967, allocations: 79.8 kB / 1.359 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008107/0.9751, allocations: 2.792 MB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9751, allocations: 4 kB / 1.362 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.9752, allocations: 3.938 kB / 1.362 GB, free: 32.65 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003509/0.9755, allocations: 368.4 kB / 1.362 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.9756, allocations: 7.625 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.9756, allocations: 11.66 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.9758, allocations: 199.8 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.9758, allocations: 3.812 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.9759, allocations: 7.844 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.482e-05/0.9759, allocations: 34.27 kB / 1.363 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/0.9761, allocations: 61.92 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.9761, allocations: 3.938 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.9761, allocations: 0 / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.9761, allocations: 3.75 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.9766, allocations: 459.2 kB / 1.363 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.9768, allocations: 146.8 kB / 1.363 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.9769, allocations: 25.72 kB / 1.363 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.9769, allocations: 0 / 1.363 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.9769, allocations: 38.55 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.9769, allocations: 0 / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002357/0.9771, allocations: 78 kB / 1.364 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.659e-05/0.9772, allocations: 57.14 kB / 1.364 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.698e-05/0.9773, allocations: 131 kB / 1.364 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.9773, allocations: 25.7 kB / 1.364 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.9774, allocations: 114.9 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.9774, allocations: 11.19 kB / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.9774, allocations: 0 / 1.364 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.9775, allocations: 325.1 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.9775, allocations: 7.094 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.9775, allocations: 36.72 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.781e-05/0.9776, allocations: 16.09 kB / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.9776, allocations: 0 / 1.364 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001676/0.9778, allocations: 89.61 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.9778, allocations: 8.469 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.9778, allocations: 4 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.9779, allocations: 20.16 kB / 1.364 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.551e-05/0.978, allocations: 7.688 kB / 1.364 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008174/0.9788, allocations: 1.253 MB / 1.366 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.9789, allocations: 3.906 kB / 1.366 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.9789, allocations: 3.875 kB / 1.366 GB, free: 29.53 MB / 0.8386 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 () * 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 6.178e-05/0.979, allocations: 106.6 kB / 1.366 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001566/0.9792, allocations: 84.58 kB / 1.366 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.9792, allocations: 11.66 kB / 1.366 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.9792, allocations: 8.891 kB / 1.366 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.9792, allocations: 4 kB / 1.366 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9792, allocations: 3.844 kB / 1.366 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9792, allocations: 3.953 kB / 1.366 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.9796, allocations: 335.3 kB / 1.366 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9796, allocations: 0 / 1.366 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.9796, allocations: 7.844 kB / 1.366 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.809e-05/0.9797, allocations: 20.39 kB / 1.366 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.9797, allocations: 3.953 kB / 1.366 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007107/0.9804, allocations: 1.244 MB / 1.367 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.9804, allocations: 3.844 kB / 1.367 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.9806, allocations: 173.1 kB / 1.368 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.9807, allocations: 93.89 kB / 1.368 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.9807, allocations: 96 / 1.368 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.9808, allocations: 4 kB / 1.368 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.9808, allocations: 5.188 kB / 1.368 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.9808, allocations: 0 / 1.368 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.521e-05/0.9809, allocations: 110 kB / 1.368 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9809, allocations: 0 / 1.368 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002599/0.9811, allocations: 30.84 kB / 1.368 GB, free: 27.52 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 (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.0004052/0.9815, allocations: 0.7106 MB / 1.368 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002708/0.9818, allocations: 141.2 kB / 1.369 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9818, allocations: 0 / 1.369 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.982, allocations: 133.6 kB / 1.369 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.9822, allocations: 14.56 kB / 1.369 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.9825, allocations: 142.2 kB / 1.369 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.9827, allocations: 0.7045 MB / 1.37 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.38e-05/0.9828, allocations: 11.52 kB / 1.37 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.9828, allocations: 26.55 kB / 1.37 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/0.9828, allocations: 0 / 1.37 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/1.001, allocations: 2.063 MB / 1.372 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/1.001, allocations: 150.7 kB / 1.372 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/2.431, allocations: 0 / 1.372 GB, free: 25.49 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.fmu > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat does not exist to compare? outputFormat=mat