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.147/2.147, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001196/0.001196, allocations: 191.2 kB / 498.1 MB, free: 5.676 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.399/1.399, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.00109/0.00109, allocations: 98.31 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 12.47 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.261, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.4555, allocations: 157.3 MB / 1.377 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.4559, allocations: 83.94 kB / 1.377 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06628/0.5222, allocations: 22.75 MB / 1.399 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5222, allocations: 0 / 1.399 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.544e-05/0.5223, allocations: 20 kB / 1.399 GB, free: 5.051 MB / 0.9011 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.002238/0.5245, allocations: 1.114 MB / 1.4 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5246, allocations: 12.03 kB / 1.4 GB, free: 3.871 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.5247, allocations: 127.2 kB / 1.4 GB, free: 3.738 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.5249, allocations: 110.6 kB / 1.4 GB, free: 3.629 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.5256, allocations: 446.6 kB / 1.401 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.5256, allocations: 62 kB / 1.401 GB, free: 3.094 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.5257, allocations: 80 kB / 1.401 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.5272, allocations: 0.8145 MB / 1.402 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5272, allocations: 0 / 1.402 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.5273, allocations: 36 kB / 1.402 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.5273, allocations: 20 kB / 1.402 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.5286, allocations: 0.6665 MB / 1.402 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5138/1.042, allocations: 2.66 MB / 1.405 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/1.046, allocations: 1.069 MB / 1.406 GB, free: 164 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/1.046, allocations: 27.94 kB / 1.406 GB, free: 164 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.046, allocations: 46.86 kB / 1.406 GB, free: 164 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=80): time 3.317e-06/1.046, allocations: 0 / 1.406 GB, free: 164 MB / 0.9011 GB Notification: Performance of matching and sorting (n=80): time 0.002276/1.049, allocations: 0.9439 MB / 1.407 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/1.049, allocations: 137.8 kB / 1.407 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009665/1.05, allocations: 0.5733 MB / 1.408 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/1.05, allocations: 41.02 kB / 1.408 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/1.05, allocations: 343 kB / 1.408 GB, free: 163.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/1.05, allocations: 262.9 kB / 1.408 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/1.051, allocations: 14.22 kB / 1.408 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.051, allocations: 381.5 kB / 1.409 GB, free: 163 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/1.051, allocations: 238.1 kB / 1.409 GB, free: 163 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/1.052, allocations: 326.1 kB / 1.409 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/1.052, allocations: 279.5 kB / 1.409 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.052, allocations: 0 / 1.409 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00152/1.054, allocations: 0.7174 MB / 1.41 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.054, allocations: 9.391 kB / 1.41 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.054, allocations: 1.641 kB / 1.41 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/1.054, allocations: 3.344 kB / 1.41 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/1.055, allocations: 154.1 kB / 1.41 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.055, allocations: 6.594 kB / 1.41 GB, free: 162.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/1.056, allocations: 86.88 kB / 1.41 GB, free: 162.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/1.056, allocations: 33.98 kB / 1.41 GB, free: 162.8 MB / 0.9011 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 () * Number of clocked 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.0003756/1.056, allocations: 242.9 kB / 1.411 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/1.056, allocations: 76.09 kB / 1.411 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/1.058, allocations: 1.117 MB / 1.412 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.058, allocations: 12.16 kB / 1.412 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.058, allocations: 3.375 kB / 1.412 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/1.059, allocations: 11.5 kB / 1.412 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/1.06, allocations: 0.9949 MB / 1.413 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/1.06, allocations: 1.031 kB / 1.413 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008516/1.061, allocations: 201.8 kB / 1.413 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/1.061, allocations: 6.5 kB / 1.413 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/1.061, allocations: 27.95 kB / 1.413 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/1.061, allocations: 8.875 kB / 1.413 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.061, allocations: 2.594 kB / 1.413 GB, free: 162.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/1.063, allocations: 1.241 MB / 1.414 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/1.063, allocations: 311 kB / 1.415 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/1.063, allocations: 22.3 kB / 1.415 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/1.064, allocations: 26.64 kB / 1.415 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.064, allocations: 75.05 kB / 1.415 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/1.064, allocations: 34.75 kB / 1.415 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000611/1.065, allocations: 485.5 kB / 1.415 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.2e-07/1.065, allocations: 0 / 1.415 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009636/1.066, allocations: 279.3 kB / 1.415 GB, free: 161.6 MB / 0.9011 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 () * Number of clocked 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.002393/1.068, allocations: 2.221 MB / 1.418 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001355/1.069, allocations: 0.6889 MB / 1.418 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.069, allocations: 0 / 1.418 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/1.07, allocations: 440.7 kB / 1.419 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/1.071, allocations: 60.06 kB / 1.419 GB, free: 160.3 MB / 0.9011 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/1.079, allocations: 5.188 MB / 1.424 GB, free: 158.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007313/1.079, allocations: 1.022 MB / 1.425 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000687/1.08, allocations: 147.5 kB / 1.425 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/1.081, allocations: 379.9 kB / 1.425 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.343e-06/1.081, allocations: 4 kB / 1.425 GB, free: 157.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4013/1.482, allocations: 16.1 MB / 1.441 GB, free: 156.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/1.482, allocations: 225.8 kB / 1.441 GB, free: 156.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/4.043, allocations: 0.5 kB / 1.441 GB, free: 156.4 MB / 0.9011 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