Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom",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.368/2.368, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001199/0.001199, allocations: 183.9 kB / 0.4901 GB, free: 2.223 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.555/1.555, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001011/0.001011, allocations: 101.7 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 10.19 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3036, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.508, allocations: 158.1 MB / 1.384 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5084, allocations: 83.95 kB / 1.384 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06827/0.5766, allocations: 22.74 MB / 1.406 GB, free: 4.48 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5767, allocations: 0 / 1.406 GB, free: 4.48 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.816e-05/0.5768, allocations: 24 kB / 1.406 GB, free: 4.457 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.003089/0.5799, allocations: 1.11 MB / 1.407 GB, free: 3.293 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.5799, allocations: 12.56 kB / 1.407 GB, free: 3.281 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000318/0.5803, allocations: 123.2 kB / 1.407 GB, free: 3.152 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.5806, allocations: 106.7 kB / 1.407 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/0.5814, allocations: 450.4 kB / 1.408 GB, free: 2.566 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.212e-05/0.5815, allocations: 66 kB / 1.408 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.5817, allocations: 83.94 kB / 1.408 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.5837, allocations: 0.8145 MB / 1.409 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.5837, allocations: 0 / 1.409 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.5838, allocations: 32 kB / 1.409 GB, free: 1.555 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.5839, allocations: 27.94 kB / 1.409 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.5854, allocations: 0.6665 MB / 1.409 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.5905, allocations: 2.676 MB / 1.412 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/0.5946, allocations: 1.06 MB / 1.413 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.063e-05/0.5947, allocations: 21.34 kB / 1.413 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5947, allocations: 42.56 kB / 1.413 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=80): time 3.357e-06/0.5947, allocations: 0 / 1.413 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=80): time 0.00224/0.597, allocations: 0.9446 MB / 1.414 GB, free: 12 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.275e-05/0.5971, allocations: 148.5 kB / 1.414 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009511/0.5981, allocations: 0.5699 MB / 1.415 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/0.5982, allocations: 45.7 kB / 1.415 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.5984, allocations: 344.7 kB / 1.415 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.5987, allocations: 260.1 kB / 1.415 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.5987, allocations: 12 kB / 1.415 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5989, allocations: 382.8 kB / 1.416 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/0.5995, allocations: 237.8 kB / 1.416 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.6001, allocations: 329.5 kB / 1.416 GB, free: 9.621 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/0.6007, allocations: 279.8 kB / 1.417 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6007, allocations: 0 / 1.417 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001487/0.6022, allocations: 0.7203 MB / 1.417 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.6022, allocations: 10.03 kB / 1.417 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6022, allocations: 0 / 1.417 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.6023, allocations: 4 kB / 1.417 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/0.6032, allocations: 155.7 kB / 1.417 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.609e-05/0.6032, allocations: 4 kB / 1.417 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008175/0.6041, allocations: 79.33 kB / 1.417 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/0.6042, allocations: 31.97 kB / 1.417 GB, free: 8.355 MB / 0.9167 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.0004716/0.6046, allocations: 241.7 kB / 1.418 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.6049, allocations: 78.97 kB / 1.418 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.6073, allocations: 1.11 MB / 1.419 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.6074, allocations: 15.94 kB / 1.419 GB, free: 6.895 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.6074, allocations: 3.953 kB / 1.419 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.6074, allocations: 7.969 kB / 1.419 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.609, allocations: 1 MB / 1.42 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.609, allocations: 4 kB / 1.42 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00089/0.6099, allocations: 203.7 kB / 1.42 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.6099, allocations: 4 kB / 1.42 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.61, allocations: 27.98 kB / 1.42 GB, free: 5.598 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.61, allocations: 8 kB / 1.42 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.61, allocations: 0 / 1.42 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.6121, allocations: 1.249 MB / 1.421 GB, free: 4.309 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00067/0.6128, allocations: 315.4 kB / 1.422 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.613, allocations: 23.98 kB / 1.422 GB, free: 3.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007746/0.6138, allocations: 31.98 kB / 1.422 GB, free: 3.926 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.614, allocations: 67.91 kB / 1.422 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.614, allocations: 35.98 kB / 1.422 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008735/0.6149, allocations: 487 kB / 1.422 GB, free: 3.355 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6149, allocations: 0 / 1.422 GB, free: 3.355 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001387/0.6163, allocations: 271.4 kB / 1.423 GB, free: 3.09 MB / 0.9167 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.003585/0.6199, allocations: 2.205 MB / 1.425 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.6216, allocations: 0.6878 MB / 1.425 GB, free: 204 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6216, allocations: 0 / 1.425 GB, free: 204 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.5348/1.156, allocations: 440.5 kB / 1.426 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/1.157, allocations: 58.27 kB / 1.426 GB, free: 179.4 MB / 0.9167 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.008418/1.166, allocations: 5.182 MB / 1.431 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/1.166, allocations: 1.023 MB / 1.432 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006645/1.167, allocations: 149.8 kB / 1.432 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/1.168, allocations: 380.4 kB / 1.432 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of SimCode: time 2.765e-06/1.168, allocations: 0 / 1.432 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5042/1.672, allocations: 16.12 MB / 1.448 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.672, allocations: 225.2 kB / 1.448 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.565, allocations: 2.438 kB / 1.448 GB, free: 175.6 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_BeamDepthInRoom.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom_res.mat does not exist to compare? outputFormat=mat