Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",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.169/2.169, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001541/0.001541, allocations: 176.8 kB / 487.4 MB, free: 5.051 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.565/1.565, allocations: 221.5 MB / 0.7824 GB, free: 1.059 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.001167/0.001168, allocations: 103.8 kB / 0.9219 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.116e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3081, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.468, allocations: 156.6 MB / 1.359 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/1.469, allocations: 79.25 kB / 1.359 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06319/1.532, allocations: 22.32 MB / 1.381 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/1.532, allocations: 0 / 1.381 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.412e-05/1.532, allocations: 18.94 kB / 1.381 GB, free: 30.41 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00284/1.535, allocations: 0.9867 MB / 1.382 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.535, allocations: 7.656 kB / 1.382 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005391/1.535, allocations: 112.6 kB / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009269/1.536, allocations: 444.9 kB / 1.382 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/1.537, allocations: 34.06 kB / 1.382 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/1.537, allocations: 50.41 kB / 1.382 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001532/1.538, allocations: 0.589 MB / 1.383 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/1.54, allocations: 0.6967 MB / 1.384 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/1.54, allocations: 0 / 1.384 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/1.54, allocations: 0 / 1.384 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/1.54, allocations: 19.22 kB / 1.384 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/1.545, allocations: 2.506 MB / 1.386 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/1.548, allocations: 0.9886 MB / 1.387 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/1.549, allocations: 309.4 kB / 1.387 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.693e-05/1.549, allocations: 25.83 kB / 1.387 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.549, allocations: 41.09 kB / 1.387 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=80): time 3.025e-06/1.549, allocations: 0 / 1.387 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80): time 0.001551/1.55, allocations: 0.6586 MB / 1.388 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/1.55, allocations: 144.3 kB / 1.388 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007505/1.551, allocations: 458.2 kB / 1.389 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/1.551, allocations: 25.7 kB / 1.389 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/1.551, allocations: 358.1 kB / 1.389 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/1.552, allocations: 247.1 kB / 1.389 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/1.552, allocations: 0 / 1.389 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.552, allocations: 377.7 kB / 1.39 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/1.552, allocations: 208.1 kB / 1.39 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/1.553, allocations: 300.3 kB / 1.39 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/1.553, allocations: 278.5 kB / 1.39 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.553, allocations: 0 / 1.39 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001322/1.555, allocations: 0.6696 MB / 1.391 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/1.555, allocations: 7.688 kB / 1.391 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.555, allocations: 4 kB / 1.391 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/1.555, allocations: 3.875 kB / 1.391 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/1.555, allocations: 155.2 kB / 1.391 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/1.556, allocations: 3.75 kB / 1.391 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007771/1.556, allocations: 54.8 kB / 1.391 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/1.556, allocations: 35 kB / 1.391 GB, free: 25.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (winNor.proShaLen.solAzi.outsidePolarCircle,winWes.proShaLen.solAzi.outsidePolarCircle,winSou.proShaLen.solAzi.outsidePolarCircle,winEas.proShaLen.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002176/1.557, allocations: 116.6 kB / 1.391 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00144/1.558, allocations: 0.6609 MB / 1.392 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/1.558, allocations: 73.34 kB / 1.392 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/1.561, allocations: 1.032 MB / 1.393 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/1.561, allocations: 11.56 kB / 1.393 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/1.561, allocations: 0 / 1.393 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/1.561, allocations: 3.984 kB / 1.393 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/1.562, allocations: 0.8643 MB / 1.394 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.562, allocations: 3.875 kB / 1.394 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008527/1.563, allocations: 206.9 kB / 1.394 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.991e-05/1.563, allocations: 3.844 kB / 1.394 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/1.563, allocations: 14.2 kB / 1.394 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/1.563, allocations: 7.719 kB / 1.394 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.563, allocations: 0 / 1.394 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/1.565, allocations: 1.188 MB / 1.395 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/1.565, allocations: 290.6 kB / 1.396 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/1.566, allocations: 3.844 kB / 1.396 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/1.566, allocations: 7.953 kB / 1.396 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/1.566, allocations: 80.53 kB / 1.396 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/1.566, allocations: 37.83 kB / 1.396 GB, free: 24.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005264/1.567, allocations: 369 kB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.567, allocations: 3.844 kB / 1.396 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001086/1.568, allocations: 247.4 kB / 1.396 GB, free: 23.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002626/1.571, allocations: 2.119 MB / 1.398 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001001/1.572, allocations: 0.6231 MB / 1.399 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.572, allocations: 7.938 kB / 1.399 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004631/1.572, allocations: 405.5 kB / 1.399 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/1.573, allocations: 28.34 kB / 1.4 GB, free: 22.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/1.576, allocations: 1.294 MB / 1.401 GB, free: 21.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/1.576, allocations: 1.024 MB / 1.402 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000586/1.577, allocations: 139.3 kB / 1.402 GB, free: 20.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/1.577, allocations: 375.2 kB / 1.402 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of SimCode: time 8.11e-07/1.577, allocations: 0 / 1.402 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.457/2.034, allocations: 14.63 MB / 1.417 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/2.035, allocations: 182 kB / 1.417 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/4.628, allocations: 0 / 1.417 GB, free: 9.344 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat does not exist to compare? outputFormat=mat