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.292/2.292, allocations: 390.5 MB / 398 MB, free: 10.98 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.00138/0.00138, allocations: 183.8 kB / 491.2 MB, free: 1.629 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.62/1.62, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0008742/0.0008741, allocations: 99.83 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.558e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2891, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.945/1.234, allocations: 157.4 MB / 1.366 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.234, allocations: 82.8 kB / 1.366 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05885/1.293, allocations: 22.33 MB / 1.388 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/1.293, allocations: 3.906 kB / 1.388 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.248e-05/1.293, allocations: 14.97 kB / 1.388 GB, free: 28.89 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.002383/1.296, allocations: 0.9788 MB / 1.389 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.296, allocations: 11.69 kB / 1.389 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/1.296, allocations: 109 kB / 1.389 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/1.297, allocations: 444.7 kB / 1.39 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.507e-05/1.297, allocations: 30.62 kB / 1.39 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/1.297, allocations: 50.12 kB / 1.39 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001296/1.299, allocations: 0.5884 MB / 1.39 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/1.3, allocations: 0.6978 MB / 1.391 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/1.3, allocations: 0 / 1.391 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/1.3, allocations: 0 / 1.391 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/1.3, allocations: 23.3 kB / 1.391 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/1.304, allocations: 2.491 MB / 1.393 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/1.307, allocations: 1.005 MB / 1.394 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/1.307, allocations: 302.8 kB / 1.395 GB, free: 26.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/1.307, allocations: 24.08 kB / 1.395 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/1.307, allocations: 53.28 kB / 1.395 GB, free: 26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=80): time 2.024e-06/1.307, allocations: 0 / 1.395 GB, free: 26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80): time 0.001187/1.308, allocations: 0.6489 MB / 1.395 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/1.308, allocations: 140 kB / 1.395 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/1.309, allocations: 458.5 kB / 1.396 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/1.309, allocations: 25.7 kB / 1.396 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/1.309, allocations: 356.8 kB / 1.396 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/1.309, allocations: 250.5 kB / 1.396 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/1.309, allocations: 4 kB / 1.396 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.309, allocations: 377.5 kB / 1.397 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/1.31, allocations: 215.4 kB / 1.397 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/1.31, allocations: 300.2 kB / 1.397 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/1.31, allocations: 284.5 kB / 1.398 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.311, allocations: 3.875 kB / 1.398 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001022/1.312, allocations: 0.6637 MB / 1.398 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.312, allocations: 3.844 kB / 1.398 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.312, allocations: 0 / 1.398 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/1.312, allocations: 7.953 kB / 1.398 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/1.312, allocations: 154.5 kB / 1.398 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.036e-06/1.312, allocations: 3.844 kB / 1.398 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/1.313, allocations: 58.83 kB / 1.398 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/1.313, allocations: 27.06 kB / 1.398 GB, free: 24.38 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.0001407/1.313, allocations: 117 kB / 1.399 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001068/1.314, allocations: 0.6557 MB / 1.399 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/1.314, allocations: 69.31 kB / 1.399 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/1.316, allocations: 1.03 MB / 1.4 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.316, allocations: 15.41 kB / 1.4 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.316, allocations: 4 kB / 1.4 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.316, allocations: 3.984 kB / 1.4 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009173/1.317, allocations: 0.8658 MB / 1.401 GB, free: 23.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/1.317, allocations: 3.812 kB / 1.401 GB, free: 23.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/1.318, allocations: 199.6 kB / 1.401 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/1.318, allocations: 7.656 kB / 1.401 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/1.318, allocations: 14.61 kB / 1.401 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/1.318, allocations: 3.938 kB / 1.401 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.318, allocations: 0 / 1.401 GB, free: 23.33 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/1.319, allocations: 1.187 MB / 1.403 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/1.319, allocations: 290.3 kB / 1.403 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.944e-05/1.319, allocations: 7.672 kB / 1.403 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/1.32, allocations: 15.86 kB / 1.403 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/1.32, allocations: 75.05 kB / 1.403 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/1.32, allocations: 37.02 kB / 1.403 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003488/1.32, allocations: 368.9 kB / 1.403 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.32, allocations: 3.938 kB / 1.403 GB, free: 22.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000799/1.321, allocations: 246.6 kB / 1.404 GB, free: 22.35 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.002355/1.324, allocations: 2.144 MB / 1.406 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009349/1.325, allocations: 0.6162 MB / 1.406 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.325, allocations: 0 / 1.406 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000467/1.325, allocations: 405.8 kB / 1.407 GB, free: 19.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/1.326, allocations: 35.97 kB / 1.407 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/1.328, allocations: 1.28 MB / 1.408 GB, free: 18.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/1.329, allocations: 1.024 MB / 1.409 GB, free: 17.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005903/1.33, allocations: 137.8 kB / 1.409 GB, free: 17.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/1.33, allocations: 380.8 kB / 1.409 GB, free: 17.3 MB / 0.8386 GB Notification: Performance of SimCode: time 9.62e-07/1.33, allocations: 0 / 1.409 GB, free: 17.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9423/2.273, allocations: 14.63 MB / 1.424 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/2.273, allocations: 177.6 kB / 1.424 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/4.492, allocations: 0 / 1.424 GB, free: 2.531 MB / 0.8386 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