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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 96.41 kB / 15.05 MB, free: 1.109 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.0009776/0.0009778, allocations: 181.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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.597/2.597, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003819, allocations: 8 kB / 0.8375 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7871/0.7875, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006257/0.7938, allocations: 4.862 MB / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.9541, allocations: 131.5 MB / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.9553, allocations: 23.88 kB / 1.114 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.9591, allocations: 1.304 MB / 1.115 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.9614, allocations: 0.7391 MB / 1.116 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.9636, allocations: 0.8144 MB / 1.117 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002612/0.9662, allocations: 1.904 MB / 1.119 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009966/0.9673, allocations: 0.7419 MB / 1.119 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.9687, allocations: 0.9223 MB / 1.12 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009843/0.9697, allocations: 0.7547 MB / 1.121 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.9698, allocations: 55.94 kB / 1.121 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.9729, allocations: 1.724 MB / 1.123 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.9739, allocations: 1.274 MB / 1.124 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.9743, allocations: 440.2 kB / 1.124 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.9793, allocations: 4.397 MB / 1.129 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9793, allocations: 0 / 1.129 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9793, allocations: 0 / 1.129 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.412e-05/0.9794, allocations: 0 / 1.129 GB, free: 14.41 MB / 0.8887 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.007566/0.987, allocations: 3.485 MB / 1.132 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.987, allocations: 12.03 kB / 1.132 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004/0.9875, allocations: 190 kB / 1.132 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.9889, allocations: 356.2 kB / 1.133 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08029/1.069, allocations: 80.87 MB / 1.212 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/1.069, allocations: 110.4 kB / 1.212 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/1.07, allocations: 152 kB / 1.212 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/1.072, allocations: 1.378 MB / 1.213 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/1.072, allocations: 0 / 1.213 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/1.072, allocations: 60 kB / 1.213 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/1.072, allocations: 28 kB / 1.213 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/1.075, allocations: 1.461 MB / 1.215 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02532/1.1, allocations: 23.76 MB / 1.238 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002335/1.102, allocations: 1.249 MB / 1.239 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.323e-05/1.102, allocations: 29.19 kB / 1.239 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/1.104, allocations: 0.8092 MB / 1.24 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 3.135e-06/1.104, allocations: 4 kB / 1.24 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004445/1.108, allocations: 2.396 MB / 1.242 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/1.108, allocations: 326.5 kB / 1.243 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7636/1.872, allocations: 99.71 MB / 1.34 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000396/1.872, allocations: 61.7 kB / 1.34 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/1.873, allocations: 1.091 MB / 1.341 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/1.874, allocations: 342.1 kB / 1.342 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/1.874, allocations: 32 kB / 1.342 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/1.874, allocations: 373.2 kB / 1.342 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/1.875, allocations: 1.043 MB / 1.343 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/1.876, allocations: 1.261 MB / 1.344 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/1.878, allocations: 1.308 MB / 1.345 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.878, allocations: 2.531 kB / 1.345 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004082/1.882, allocations: 2.901 MB / 1.348 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.882, allocations: 153.6 kB / 1.348 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.882, allocations: 0 / 1.348 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/1.882, allocations: 12 kB / 1.348 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/1.883, allocations: 313.8 kB / 1.349 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/1.883, allocations: 18.86 kB / 1.349 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.885, allocations: 336.3 kB / 1.349 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/1.885, allocations: 67.97 kB / 1.349 GB, free: 180 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.001514/1.887, allocations: 1.039 MB / 1.35 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006279/1.887, allocations: 230.2 kB / 1.35 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/1.891, allocations: 2.239 MB / 1.353 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/1.891, allocations: 8 kB / 1.353 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.891, allocations: 0 / 1.353 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.891, allocations: 7.953 kB / 1.353 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/1.893, allocations: 2.015 MB / 1.355 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.893, allocations: 0 / 1.355 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/1.894, allocations: 163.8 kB / 1.355 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.894, allocations: 4 kB / 1.355 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/1.894, allocations: 41.89 kB / 1.355 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/1.894, allocations: 0 / 1.355 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.894, allocations: 4 kB / 1.355 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/1.897, allocations: 2.026 MB / 1.357 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.898, allocations: 0.8175 MB / 1.357 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/1.899, allocations: 27.98 kB / 1.358 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.9, allocations: 207.7 kB / 1.358 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.9, allocations: 86.28 kB / 1.358 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/1.9, allocations: 55.72 kB / 1.358 GB, free: 171 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.05554/1.956, allocations: 79.59 MB / 1.436 GB, free: 91.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.41e-07/1.956, allocations: 0 / 1.436 GB, free: 91.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003482/1.959, allocations: 1.064 MB / 1.437 GB, free: 90.43 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.005794/1.965, allocations: 3.417 MB / 1.44 GB, free: 87.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00329/1.968, allocations: 3.228 MB / 1.443 GB, free: 84.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.968, allocations: 4 kB / 1.443 GB, free: 84.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.97, allocations: 1.372 MB / 1.444 GB, free: 82.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/1.972, allocations: 345.6 kB / 1.445 GB, free: 82.33 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.982, allocations: 9.826 MB / 1.454 GB, free: 72.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.983, allocations: 1.835 MB / 1.456 GB, free: 70.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001982/1.985, allocations: 0.7772 MB / 1.457 GB, free: 69.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/1.987, allocations: 1.142 MB / 1.458 GB, free: 68.43 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.987, allocations: 0 / 1.458 GB, free: 68.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/2.103, allocations: 90.97 MB / 1.547 GB, free: 10.39 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/2.103, allocations: 264 kB / 1.547 GB, free: 10.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.527/5.63, allocations: 0 / 1.547 GB, free: 10.04 MB / 1.029 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) Environment - environmentSimulation: 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