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.2/2.2, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001228/0.001228, allocations: 172.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.3 MB / 0.7915 GB, free: 5.355 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.001001/0.001001, allocations: 91.81 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.738e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2693, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9982/1.268, allocations: 158.1 MB / 1.373 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/1.268, allocations: 81.08 kB / 1.373 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.06563/1.333, allocations: 22.52 MB / 1.395 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/1.334, allocations: 0 / 1.395 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.761e-05/1.334, allocations: 16 kB / 1.395 GB, free: 9.309 MB / 0.8542 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.002562/1.336, allocations: 0.9843 MB / 1.396 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/1.336, allocations: 11.97 kB / 1.396 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003294/1.337, allocations: 122.8 kB / 1.396 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003618/1.337, allocations: 110.6 kB / 1.397 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008197/1.338, allocations: 442 kB / 1.397 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/1.338, allocations: 68.94 kB / 1.397 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/1.338, allocations: 77.44 kB / 1.397 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/1.34, allocations: 0.8025 MB / 1.398 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/1.34, allocations: 3.938 kB / 1.398 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/1.34, allocations: 32.12 kB / 1.398 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/1.34, allocations: 20 kB / 1.398 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/1.341, allocations: 0.6438 MB / 1.399 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/1.346, allocations: 2.669 MB / 1.401 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/1.35, allocations: 1.04 MB / 1.402 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/1.35, allocations: 331.5 kB / 1.402 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.836e-05/1.351, allocations: 31.3 kB / 1.402 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/1.351, allocations: 40.5 kB / 1.403 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=80): time 4.679e-06/1.351, allocations: 3.984 kB / 1.403 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of matching and sorting (n=80): time 0.001338/1.352, allocations: 0.6759 MB / 1.403 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/1.352, allocations: 140.5 kB / 1.403 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008211/1.353, allocations: 0.5695 MB / 1.404 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/1.353, allocations: 44.77 kB / 1.404 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/1.353, allocations: 343.4 kB / 1.404 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/1.353, allocations: 262.8 kB / 1.405 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/1.354, allocations: 9.562 kB / 1.405 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002016/1.354, allocations: 388.6 kB / 1.405 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/1.354, allocations: 221.5 kB / 1.405 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/1.355, allocations: 321.1 kB / 1.405 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/1.355, allocations: 269.1 kB / 1.406 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.355, allocations: 4 kB / 1.406 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001168/1.356, allocations: 0.6891 MB / 1.406 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.356, allocations: 5.406 kB / 1.406 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.356, allocations: 0 / 1.406 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/1.356, allocations: 4 kB / 1.406 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/1.357, allocations: 151.4 kB / 1.406 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/1.357, allocations: 7.938 kB / 1.407 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/1.358, allocations: 85.98 kB / 1.407 GB, free: 452 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/1.358, allocations: 30.47 kB / 1.407 GB, free: 428 kB / 0.8542 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.0001713/1.358, allocations: 148.1 kB / 1.407 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/1.358, allocations: 75.06 kB / 1.407 GB, free: 220 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/1.36, allocations: 1.09 MB / 1.408 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/1.36, allocations: 15.98 kB / 1.408 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.36, allocations: 0 / 1.408 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/1.36, allocations: 7.984 kB / 1.408 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/1.362, allocations: 0.9972 MB / 1.409 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/1.362, allocations: 0 / 1.409 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008279/1.363, allocations: 204.4 kB / 1.409 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/1.363, allocations: 4 kB / 1.409 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/1.363, allocations: 33.55 kB / 1.409 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.363, allocations: 4 kB / 1.409 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.363, allocations: 4 kB / 1.409 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/1.364, allocations: 1.213 MB / 1.41 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/1.365, allocations: 312.4 kB / 1.411 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/1.365, allocations: 23.44 kB / 1.411 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006057/1.366, allocations: 28.8 kB / 1.411 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.366, allocations: 82.03 kB / 1.411 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/1.366, allocations: 38.8 kB / 1.411 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006408/1.367, allocations: 475.5 kB / 1.411 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.876e-06/1.367, allocations: 0 / 1.411 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001039/1.368, allocations: 274.2 kB / 1.411 GB, free: 12.48 MB / 0.8698 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.00274/1.37, allocations: 2.182 MB / 1.414 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.372, allocations: 0.6624 MB / 1.414 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.372, allocations: 0 / 1.414 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006153/1.372, allocations: 431.4 kB / 1.415 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/1.373, allocations: 59 kB / 1.415 GB, free: 9.699 MB / 0.8698 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.003323/1.376, allocations: 1.405 MB / 1.416 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/1.377, allocations: 1.021 MB / 1.417 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006188/1.377, allocations: 154.2 kB / 1.417 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/1.378, allocations: 383.3 kB / 1.418 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/1.378, allocations: 0 / 1.418 GB, free: 6.672 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.237/2.615, allocations: 16.2 MB / 1.433 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/2.615, allocations: 210.3 kB / 1.434 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/4.998, allocations: 0 / 1.434 GB, free: 6.414 MB / 0.8855 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