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.182/2.182, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.0009969/0.0009968, allocations: 179.9 kB / 492.3 MB, free: 0.6094 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.621/1.621, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009025/0.0009022, allocations: 95.41 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.474e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2578, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9229/1.181, allocations: 157.3 MB / 1.366 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/1.181, allocations: 78.64 kB / 1.366 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0598/1.241, allocations: 22.51 MB / 1.388 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.893e-06/1.241, allocations: 4 kB / 1.388 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.248e-05/1.241, allocations: 19.06 kB / 1.388 GB, free: 30.07 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.002217/1.243, allocations: 0.9839 MB / 1.389 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.243, allocations: 11.38 kB / 1.389 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003036/1.244, allocations: 130.7 kB / 1.389 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/1.244, allocations: 108.5 kB / 1.389 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006769/1.244, allocations: 439.4 kB / 1.39 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/1.245, allocations: 66.66 kB / 1.39 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/1.245, allocations: 78.47 kB / 1.39 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.246, allocations: 0.8036 MB / 1.391 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/1.246, allocations: 0 / 1.391 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/1.246, allocations: 31.81 kB / 1.391 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/1.246, allocations: 19.22 kB / 1.391 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/1.247, allocations: 0.6329 MB / 1.391 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/1.251, allocations: 2.683 MB / 1.394 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/1.254, allocations: 1.039 MB / 1.395 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/1.255, allocations: 331.8 kB / 1.395 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/1.255, allocations: 25.58 kB / 1.395 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/1.255, allocations: 49.11 kB / 1.395 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=80): time 2.946e-06/1.255, allocations: 0 / 1.395 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=80): time 0.001183/1.256, allocations: 0.6747 MB / 1.396 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/1.256, allocations: 140.3 kB / 1.396 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/1.257, allocations: 0.5695 MB / 1.397 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/1.257, allocations: 39.7 kB / 1.397 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/1.257, allocations: 344.6 kB / 1.397 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/1.257, allocations: 258.5 kB / 1.397 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/1.257, allocations: 16.84 kB / 1.397 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.257, allocations: 385.3 kB / 1.398 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/1.258, allocations: 222.6 kB / 1.398 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/1.258, allocations: 313.8 kB / 1.398 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/1.259, allocations: 274.3 kB / 1.399 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.259, allocations: 0 / 1.399 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000987/1.26, allocations: 0.6828 MB / 1.399 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.26, allocations: 11.83 kB / 1.399 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.26, allocations: 7.922 kB / 1.399 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.26, allocations: 3.812 kB / 1.399 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006573/1.26, allocations: 154.5 kB / 1.399 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.26, allocations: 3.812 kB / 1.399 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006177/1.261, allocations: 88.45 kB / 1.399 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/1.261, allocations: 39.25 kB / 1.399 GB, free: 25.43 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.0001554/1.261, allocations: 142.9 kB / 1.4 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/1.261, allocations: 77.78 kB / 1.4 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/1.263, allocations: 1.079 MB / 1.401 GB, free: 24.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.263, allocations: 20 kB / 1.401 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.263, allocations: 3.984 kB / 1.401 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.263, allocations: 3.984 kB / 1.401 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/1.264, allocations: 0.9958 MB / 1.402 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.264, allocations: 4 kB / 1.402 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/1.265, allocations: 206.1 kB / 1.402 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/1.265, allocations: 4 kB / 1.402 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/1.265, allocations: 26.3 kB / 1.402 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.265, allocations: 4 kB / 1.402 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.265, allocations: 4 kB / 1.402 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/1.266, allocations: 1.219 MB / 1.403 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/1.267, allocations: 310.9 kB / 1.403 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.267, allocations: 25.94 kB / 1.403 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/1.267, allocations: 28.8 kB / 1.404 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/1.268, allocations: 77.78 kB / 1.404 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/1.268, allocations: 35.61 kB / 1.404 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004959/1.268, allocations: 477.9 kB / 1.404 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.268, allocations: 0 / 1.404 GB, free: 22.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008309/1.269, allocations: 273.3 kB / 1.404 GB, free: 21.99 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.002029/1.271, allocations: 2.184 MB / 1.406 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009203/1.272, allocations: 0.6586 MB / 1.407 GB, free: 19.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.272, allocations: 3.938 kB / 1.407 GB, free: 19.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/1.272, allocations: 440.4 kB / 1.408 GB, free: 19.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/1.273, allocations: 56.33 kB / 1.408 GB, free: 19.3 MB / 0.8386 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.002459/1.275, allocations: 1.392 MB / 1.409 GB, free: 18.12 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/1.276, allocations: 1.028 MB / 1.41 GB, free: 17.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004976/1.276, allocations: 150.2 kB / 1.41 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/1.277, allocations: 376 kB / 1.41 GB, free: 16.79 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.277, allocations: 4 kB / 1.41 GB, free: 16.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.438/1.715, allocations: 16.22 MB / 1.426 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/1.715, allocations: 197.4 kB / 1.426 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/4.085, allocations: 0 / 1.426 GB, free: 0.5156 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