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.001167/0.001167, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001331/0.001331, allocations: 177.3 kB / 15.95 MB, free: 216 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.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.363 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.272/2.272, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.764/0.7643, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008602/0.773, allocations: 4.867 MB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1684/0.9415, allocations: 131.5 MB / 1.087 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.9431, allocations: 23.88 kB / 1.087 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.9478, allocations: 1.316 MB / 1.088 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.9512, allocations: 0.7318 MB / 1.089 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.9537, allocations: 0.823 MB / 1.09 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002815/0.9565, allocations: 1.908 MB / 1.091 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009559/0.9575, allocations: 0.7265 MB / 1.092 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.9589, allocations: 0.9262 MB / 1.093 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009906/0.9599, allocations: 0.747 MB / 1.094 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.96, allocations: 55.98 kB / 1.094 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003531/0.9636, allocations: 1.736 MB / 1.096 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.9647, allocations: 1.267 MB / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.9652, allocations: 448.2 kB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005459/0.9707, allocations: 4.397 MB / 1.102 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9707, allocations: 0 / 1.102 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9708, allocations: 0 / 1.102 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.11e-05/0.9708, allocations: 0 / 1.102 GB, free: 8.348 MB / 0.8575 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.007595/0.9784, allocations: 3.49 MB / 1.105 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.9785, allocations: 8.031 kB / 1.105 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003266/0.9788, allocations: 190 kB / 1.105 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.9801, allocations: 360.2 kB / 1.105 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07322/1.053, allocations: 80.86 MB / 1.184 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.053, allocations: 114.4 kB / 1.185 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/1.054, allocations: 155.9 kB / 1.185 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/1.056, allocations: 1.374 MB / 1.186 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/1.056, allocations: 0 / 1.186 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/1.056, allocations: 59.98 kB / 1.186 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/1.056, allocations: 28 kB / 1.186 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/1.058, allocations: 1.461 MB / 1.188 GB, free: 36 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02391/1.082, allocations: 23.75 MB / 1.211 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/1.084, allocations: 1.253 MB / 1.212 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.559e-05/1.085, allocations: 33.19 kB / 1.212 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/1.086, allocations: 0.8053 MB / 1.213 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=104): time 3.116e-06/1.086, allocations: 8 kB / 1.213 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=104): time 0.004549/1.09, allocations: 2.384 MB / 1.215 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002252/1.091, allocations: 334.5 kB / 1.215 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.755/1.846, allocations: 99.72 MB / 1.313 GB, free: 238.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004681/1.846, allocations: 61.7 kB / 1.313 GB, free: 238.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/1.847, allocations: 1.089 MB / 1.314 GB, free: 237.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/1.848, allocations: 340.4 kB / 1.314 GB, free: 237 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/1.848, allocations: 32 kB / 1.314 GB, free: 237 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.848, allocations: 373.9 kB / 1.315 GB, free: 236.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.849, allocations: 1.038 MB / 1.316 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/1.851, allocations: 1.256 MB / 1.317 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/1.852, allocations: 1.302 MB / 1.318 GB, free: 233 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/1.852, allocations: 4 kB / 1.318 GB, free: 233 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004219/1.856, allocations: 2.898 MB / 1.321 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/1.856, allocations: 153.6 kB / 1.321 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.856, allocations: 4 kB / 1.321 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/1.856, allocations: 8 kB / 1.321 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/1.858, allocations: 319.5 kB / 1.321 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/1.858, allocations: 8 kB / 1.321 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/1.86, allocations: 347.3 kB / 1.322 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/1.86, allocations: 72.67 kB / 1.322 GB, free: 229.2 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.001576/1.861, allocations: 1.032 MB / 1.323 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/1.862, allocations: 234.9 kB / 1.323 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/1.865, allocations: 2.226 MB / 1.325 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.865, allocations: 12 kB / 1.325 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.865, allocations: 0 / 1.325 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.865, allocations: 11.92 kB / 1.325 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/1.868, allocations: 2.016 MB / 1.327 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.868, allocations: 4 kB / 1.327 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/1.868, allocations: 160.9 kB / 1.327 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/1.868, allocations: 7.438 kB / 1.327 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/1.868, allocations: 35.97 kB / 1.327 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.868, allocations: 4 kB / 1.327 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.868, allocations: 0 / 1.327 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/1.871, allocations: 2.027 MB / 1.329 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/1.873, allocations: 0.8253 MB / 1.33 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004035/1.873, allocations: 20 kB / 1.33 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.875, allocations: 213.6 kB / 1.33 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.875, allocations: 84.88 kB / 1.331 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.834e-05/1.875, allocations: 47.97 kB / 1.331 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0546/1.93, allocations: 79.59 MB / 1.408 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.52e-07/1.93, allocations: 0 / 1.408 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003428/1.933, allocations: 1.066 MB / 1.409 GB, free: 139.6 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.006022/1.939, allocations: 3.419 MB / 1.413 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003354/1.942, allocations: 3.235 MB / 1.416 GB, free: 133.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.942, allocations: 0 / 1.416 GB, free: 133.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/1.944, allocations: 1.381 MB / 1.417 GB, free: 131.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/1.946, allocations: 331.1 kB / 1.418 GB, free: 131.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.958, allocations: 9.833 MB / 1.427 GB, free: 121.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.959, allocations: 1.84 MB / 1.429 GB, free: 119.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002075/1.961, allocations: 0.7694 MB / 1.43 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/1.963, allocations: 1.14 MB / 1.431 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.963, allocations: 0 / 1.431 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/2.091, allocations: 90.98 MB / 1.52 GB, free: 27.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/2.091, allocations: 248.2 kB / 1.52 GB, free: 27.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.19/6.281, allocations: 4 kB / 1.52 GB, free: 27.1 MB / 0.9981 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