Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.112/2.112, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001058/0.001058, allocations: 176.4 kB / 496.1 MB, free: 12.87 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.411/1.411, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0008663/0.0008664, allocations: 99.83 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.314e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2264, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.107/4.333, allocations: 1.758 GB / 2.977 GB, free: 54.88 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/4.334, allocations: 91.94 kB / 2.977 GB, free: 54.79 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8398/5.173, allocations: 106.9 MB / 3.082 GB, free: 397.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.106e-06/5.173, allocations: 1 kB / 3.082 GB, free: 397.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003742/5.174, allocations: 50.44 kB / 3.082 GB, free: 397.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.01399/5.188, allocations: 2.471 MB / 3.084 GB, free: 396.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/5.188, allocations: 9.219 kB / 3.084 GB, free: 396.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002799/5.188, allocations: 172.6 kB / 3.084 GB, free: 396.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008583/5.197, allocations: 350.5 kB / 3.085 GB, free: 396.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1234/5.32, allocations: 94.06 MB / 3.177 GB, free: 326.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.99e-05/5.32, allocations: 102.1 kB / 3.177 GB, free: 326.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/5.321, allocations: 142.2 kB / 3.177 GB, free: 326 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/5.323, allocations: 1.35 MB / 3.178 GB, free: 324.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/5.323, allocations: 0 / 3.178 GB, free: 324.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/5.323, allocations: 48 kB / 3.178 GB, free: 324.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/5.323, allocations: 28 kB / 3.178 GB, free: 324.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/5.325, allocations: 1.444 MB / 3.18 GB, free: 323.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1469/5.472, allocations: 79.54 MB / 3.257 GB, free: 243.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/5.473, allocations: 1.094 MB / 3.258 GB, free: 242.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/5.474, allocations: 0.624 MB / 3.259 GB, free: 241.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.393e-05/5.474, allocations: 37.31 kB / 3.259 GB, free: 241.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008515/5.475, allocations: 0.6843 MB / 3.26 GB, free: 241.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=92): time 3.246e-06/5.475, allocations: 4 kB / 3.26 GB, free: 241.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=92): time 0.01056/5.485, allocations: 1.551 MB / 3.261 GB, free: 239.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/5.486, allocations: 381.4 kB / 3.262 GB, free: 239.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1902/5.676, allocations: 103.5 MB / 3.363 GB, free: 135.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005165/5.676, allocations: 59.02 kB / 3.363 GB, free: 135.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/5.678, allocations: 1.019 MB / 3.364 GB, free: 134.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/5.678, allocations: 307.3 kB / 3.364 GB, free: 134.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.449e-05/5.678, allocations: 28 kB / 3.364 GB, free: 134.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/5.678, allocations: 381.9 kB / 3.364 GB, free: 133.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/5.679, allocations: 0.9599 MB / 3.365 GB, free: 132.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/5.68, allocations: 1.191 MB / 3.366 GB, free: 131.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/5.682, allocations: 1.238 MB / 3.368 GB, free: 130.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/5.682, allocations: 4 kB / 3.368 GB, free: 130.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01038/5.692, allocations: 2.727 MB / 3.37 GB, free: 127.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/5.692, allocations: 149.6 kB / 3.37 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/5.692, allocations: 4 kB / 3.37 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/5.692, allocations: 8 kB / 3.37 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/5.693, allocations: 291.6 kB / 3.371 GB, free: 127.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/5.693, allocations: 13.12 kB / 3.371 GB, free: 127.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007412/5.701, allocations: 294.4 kB / 3.371 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/5.701, allocations: 93.14 kB / 3.371 GB, free: 126.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 1 * 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.0003907/5.702, allocations: 326.8 kB / 3.371 GB, free: 126.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006755/5.708, allocations: 236.2 kB / 3.372 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/5.712, allocations: 2.042 MB / 3.374 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/5.712, allocations: 8 kB / 3.374 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/5.712, allocations: 4 kB / 3.374 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/5.712, allocations: 3.984 kB / 3.374 GB, free: 124.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06029/5.772, allocations: 38.02 MB / 3.411 GB, free: 86.03 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/5.772, allocations: 0 / 3.411 GB, free: 86.03 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/5.773, allocations: 160.3 kB / 3.411 GB, free: 85.88 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/5.773, allocations: 11.94 kB / 3.411 GB, free: 85.87 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/5.773, allocations: 31.98 kB / 3.411 GB, free: 85.84 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/5.773, allocations: 4 kB / 3.411 GB, free: 85.84 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/5.773, allocations: 3.844 kB / 3.411 GB, free: 85.84 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/5.783, allocations: 1.913 MB / 3.413 GB, free: 83.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04102/5.824, allocations: 20.55 MB / 3.433 GB, free: 63.32 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009338/5.834, allocations: 28 kB / 3.433 GB, free: 63.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00736/5.841, allocations: 188 kB / 3.433 GB, free: 63.11 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/5.841, allocations: 67.5 kB / 3.433 GB, free: 63.05 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/5.842, allocations: 79.92 kB / 3.433 GB, free: 62.97 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.6873/6.529, allocations: 76.34 MB / 3.508 GB, free: 390.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.032e-06/6.529, allocations: 0 / 3.508 GB, free: 390.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01694/6.546, allocations: 6.083 MB / 3.514 GB, free: 390.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.01581/6.562, allocations: 3.584 MB / 3.517 GB, free: 389.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004284/6.566, allocations: 3.083 MB / 3.52 GB, free: 388.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/6.566, allocations: 1.062 kB / 3.52 GB, free: 388.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/6.568, allocations: 1.319 MB / 3.522 GB, free: 388.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007781/6.575, allocations: 338.8 kB / 3.522 GB, free: 387.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/6.594, allocations: 4.859 MB / 3.527 GB, free: 386.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/6.596, allocations: 1.784 MB / 3.528 GB, free: 385.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0157/6.612, allocations: 11.11 MB / 3.539 GB, free: 385.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02287/6.635, allocations: 4.139 MB / 3.543 GB, free: 384.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.403e-06/6.635, allocations: 0 / 3.543 GB, free: 384.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.276/7.911, allocations: 0.5159 GB / 4.059 GB, free: 214.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/7.911, allocations: 232.3 kB / 4.059 GB, free: 213.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.306/13.22, allocations: 0 / 4.059 GB, free: 213.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat does not exist to compare? outputFormat=mat