Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007844/0.0007841, allocations: 86.41 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008502/0.0008502, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.4 MB / 0.6655 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 15.94 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7821/0.7825, allocations: 142.3 MB / 0.9539 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006025/0.7885, allocations: 5.009 MB / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.9596, allocations: 140.7 MB / 1.096 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.9609, allocations: 23.88 kB / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004139/0.9651, allocations: 1.51 MB / 1.098 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.9672, allocations: 0.6563 MB / 1.098 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.9695, allocations: 0.7728 MB / 1.099 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.9727, allocations: 3.095 MB / 1.102 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.9737, allocations: 0.7303 MB / 1.103 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.9753, allocations: 0.9729 MB / 1.104 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.9765, allocations: 0.8403 MB / 1.105 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.9766, allocations: 55.98 kB / 1.105 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.9801, allocations: 1.818 MB / 1.106 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.9812, allocations: 1.298 MB / 1.108 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004747/0.9816, allocations: 444.2 kB / 1.108 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005026/0.9867, allocations: 4.389 MB / 1.112 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.9867, allocations: 4 kB / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9867, allocations: 0 / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.836e-05/0.9868, allocations: 0 / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.006656/0.9934, allocations: 3.485 MB / 1.116 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9935, allocations: 12.03 kB / 1.116 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002625/0.9937, allocations: 182 kB / 1.116 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009552/0.9947, allocations: 364.2 kB / 1.116 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0821/1.077, allocations: 87.61 MB / 1.202 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/1.077, allocations: 110.4 kB / 1.202 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/1.077, allocations: 156 kB / 1.202 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/1.08, allocations: 1.381 MB / 1.203 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/1.081, allocations: 0 / 1.203 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/1.081, allocations: 56 kB / 1.204 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/1.081, allocations: 28 kB / 1.204 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/1.083, allocations: 1.461 MB / 1.205 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02319/1.106, allocations: 23.75 MB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/1.109, allocations: 1.239 MB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/1.11, allocations: 0.6871 MB / 1.23 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/1.11, allocations: 41.06 kB / 1.23 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/1.112, allocations: 0.8015 MB / 1.231 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 3.155e-06/1.112, allocations: 0 / 1.231 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=104): time 0.004528/1.116, allocations: 2.315 MB / 1.233 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002041/1.116, allocations: 322.5 kB / 1.233 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6988/1.815, allocations: 99.72 MB / 1.331 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004599/1.816, allocations: 58.98 kB / 1.331 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.817, allocations: 1.091 MB / 1.332 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/1.817, allocations: 340.4 kB / 1.332 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/1.817, allocations: 35.88 kB / 1.332 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.817, allocations: 373.9 kB / 1.333 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.819, allocations: 1.035 MB / 1.334 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/1.82, allocations: 1.263 MB / 1.335 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/1.821, allocations: 1.306 MB / 1.336 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.821, allocations: 0 / 1.336 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004192/1.826, allocations: 2.904 MB / 1.339 GB, free: 212.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/1.826, allocations: 153.6 kB / 1.339 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.826, allocations: 6.688 kB / 1.339 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/1.826, allocations: 8 kB / 1.339 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.827, allocations: 311.5 kB / 1.339 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/1.827, allocations: 19.77 kB / 1.339 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/1.829, allocations: 344.3 kB / 1.34 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/1.829, allocations: 64.69 kB / 1.34 GB, free: 211.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * 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.001355/1.83, allocations: 1.04 MB / 1.341 GB, free: 210.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005205/1.831, allocations: 230.2 kB / 1.341 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/1.834, allocations: 2.224 MB / 1.343 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.834, allocations: 12 kB / 1.343 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/1.834, allocations: 3.953 kB / 1.343 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/1.834, allocations: 3.984 kB / 1.343 GB, free: 208.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.836, allocations: 2.018 MB / 1.345 GB, free: 206.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.836, allocations: 7.938 kB / 1.345 GB, free: 206.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/1.837, allocations: 167.7 kB / 1.345 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.837, allocations: 7.469 kB / 1.345 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/1.837, allocations: 36.83 kB / 1.345 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.837, allocations: 7.5 kB / 1.345 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.837, allocations: 0 / 1.345 GB, free: 206 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/1.839, allocations: 2.027 MB / 1.347 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.841, allocations: 0.8136 MB / 1.348 GB, free: 203.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/1.841, allocations: 31.98 kB / 1.348 GB, free: 203.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.842, allocations: 201.8 kB / 1.348 GB, free: 202.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.842, allocations: 80.88 kB / 1.349 GB, free: 202.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/1.843, allocations: 57.53 kB / 1.349 GB, free: 202.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0546/1.897, allocations: 79.59 MB / 1.426 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.897, allocations: 0 / 1.426 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00304/1.9, allocations: 1.054 MB / 1.427 GB, free: 122.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.005461/1.906, allocations: 3.413 MB / 1.431 GB, free: 119 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003199/1.909, allocations: 3.231 MB / 1.434 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.909, allocations: 0 / 1.434 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/1.91, allocations: 1.38 MB / 1.435 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/1.912, allocations: 364.6 kB / 1.436 GB, free: 114 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7731/2.685, allocations: 255.7 MB / 1.685 GB, free: 407.8 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/2.687, allocations: 1.782 MB / 1.687 GB, free: 406.9 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002379/2.689, allocations: 0.7751 MB / 1.688 GB, free: 406.9 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/2.691, allocations: 1.137 MB / 1.689 GB, free: 406.1 MB / 1.123 GB Notification: Performance of SimCode: time 1.072e-06/2.691, allocations: 6.906 kB / 1.689 GB, free: 406.1 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/2.798, allocations: 92.42 MB / 1.779 GB, free: 320.6 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/2.798, allocations: 257.8 kB / 1.779 GB, free: 320.3 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.618/6.416, allocations: 0 / 1.779 GB, free: 320.3 MB / 1.123 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat does not exist to compare? outputFormat=mat