Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.0009992/0.0009992, allocations: 99.86 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.001075/0.001075, 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.344/1.344, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.363/2.363, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003566, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6226/0.6229, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.006576/0.6296, allocations: 5.926 MB / 0.9866 GB, free: 340 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1399/0.7694, allocations: 132.4 MB / 1.116 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.7712, allocations: 31.81 kB / 1.116 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004385/0.7756, allocations: 1.429 MB / 1.117 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.7789, allocations: 1.043 MB / 1.118 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002864/0.7817, allocations: 1.037 MB / 1.119 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003874/0.7856, allocations: 2.719 MB / 1.122 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.787, allocations: 0.9254 MB / 1.123 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.7892, allocations: 1.284 MB / 1.124 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.7908, allocations: 1.075 MB / 1.125 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.7911, allocations: 72 kB / 1.125 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.7942, allocations: 1.783 MB / 1.127 GB, free: 200 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002385/0.7966, allocations: 2.865 MB / 1.13 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009032/0.7975, allocations: 0.7919 MB / 1.131 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009076/0.8066, allocations: 8.977 MB / 1.139 GB, free: 3.527 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.8066, allocations: 4 kB / 1.139 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8066, allocations: 0 / 1.139 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000139/0.8068, allocations: 0 / 1.139 GB, free: 3.523 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01531/0.8221, allocations: 6.744 MB / 1.146 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8221, allocations: 16.02 kB / 1.146 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005606/0.8227, allocations: 223.7 kB / 1.146 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.8257, allocations: 0.6064 MB / 1.147 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6843/1.51, allocations: 255.6 MB / 1.396 GB, free: 125.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/1.51, allocations: 142.9 kB / 1.396 GB, free: 125.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/1.51, allocations: 185.1 kB / 1.397 GB, free: 125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/1.513, allocations: 1.78 MB / 1.398 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/1.513, allocations: 0 / 1.398 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/1.513, allocations: 64 kB / 1.398 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/1.513, allocations: 36 kB / 1.398 GB, free: 123 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/1.515, allocations: 1.806 MB / 1.4 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04461/1.56, allocations: 70 MB / 1.469 GB, free: 51.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/1.562, allocations: 1.584 MB / 1.47 GB, free: 49.65 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-05/1.562, allocations: 41.95 kB / 1.47 GB, free: 49.62 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/1.564, allocations: 1.031 MB / 1.471 GB, free: 48.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.505e-06/1.564, allocations: 0 / 1.471 GB, free: 48.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.006826/1.571, allocations: 3.283 MB / 1.474 GB, free: 45.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.571, allocations: 342.5 kB / 1.475 GB, free: 44.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8854/2.456, allocations: 316 MB / 1.783 GB, free: 350.3 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.00045/2.457, allocations: 65.7 kB / 1.783 GB, free: 350.2 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002588/2.459, allocations: 2.223 MB / 1.786 GB, free: 348.2 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004293/2.46, allocations: 387.9 kB / 1.786 GB, free: 347.9 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/2.46, allocations: 36 kB / 1.786 GB, free: 347.9 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001028/2.46, allocations: 393.9 kB / 1.786 GB, free: 347.5 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/2.462, allocations: 1.352 MB / 1.788 GB, free: 346.1 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/2.463, allocations: 1.655 MB / 1.789 GB, free: 344.4 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/2.465, allocations: 1.658 MB / 1.791 GB, free: 342.7 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/2.465, allocations: 4 kB / 1.791 GB, free: 342.7 MB / 1.17 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006703/2.472, allocations: 3.928 MB / 1.795 GB, free: 338.8 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/2.472, allocations: 172.7 kB / 1.795 GB, free: 338.6 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/2.472, allocations: 4 kB / 1.795 GB, free: 338.6 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/2.472, allocations: 100.2 kB / 1.795 GB, free: 338.5 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/2.474, allocations: 392.1 kB / 1.795 GB, free: 338.1 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/2.475, allocations: 1.549 MB / 1.797 GB, free: 336.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/2.479, allocations: 0.6406 MB / 1.798 GB, free: 335.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/2.48, allocations: 95.77 kB / 1.798 GB, free: 335.7 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (230): * Single equations (assignments): 228 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003356/2.483, allocations: 2.16 MB / 1.8 GB, free: 333.6 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002738/2.486, allocations: 465.3 kB / 1.8 GB, free: 333.1 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005833/2.492, allocations: 3.041 MB / 1.803 GB, free: 330.1 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/2.492, allocations: 15.94 kB / 1.803 GB, free: 330.1 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/2.492, allocations: 0 / 1.803 GB, free: 330.1 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/2.492, allocations: 7.969 kB / 1.803 GB, free: 330.1 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/2.499, allocations: 4.083 MB / 1.807 GB, free: 325.9 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/2.499, allocations: 0 / 1.807 GB, free: 325.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/2.5, allocations: 183.8 kB / 1.807 GB, free: 325.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005098/2.5, allocations: 88.7 kB / 1.807 GB, free: 325.7 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/2.5, allocations: 39.97 kB / 1.807 GB, free: 325.6 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/2.502, allocations: 1.571 MB / 1.809 GB, free: 323.9 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/2.502, allocations: 4.031 kB / 1.809 GB, free: 323.9 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005584/2.507, allocations: 2.681 MB / 1.812 GB, free: 321.2 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004544/2.512, allocations: 1.798 MB / 1.813 GB, free: 319.4 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001804/2.514, allocations: 35.98 kB / 1.813 GB, free: 319.4 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002771/2.517, allocations: 432.5 kB / 1.814 GB, free: 318.9 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/2.517, allocations: 97.41 kB / 1.814 GB, free: 318.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/2.517, allocations: 59.95 kB / 1.814 GB, free: 318.8 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.171/2.688, allocations: 251.6 MB / 2.06 GB, free: 67.14 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.4e-07/2.688, allocations: 0 / 2.06 GB, free: 67.14 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.005839/2.694, allocations: 1.378 MB / 2.061 GB, free: 65.84 MB / 1.17 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 (117): * Single equations (assignments): 109 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008976/2.703, allocations: 4.104 MB / 2.065 GB, free: 62.02 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004492/2.707, allocations: 3.979 MB / 2.069 GB, free: 58.02 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/2.707, allocations: 0 / 2.069 GB, free: 58.02 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/2.709, allocations: 1.735 MB / 2.071 GB, free: 56.26 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004166/2.713, allocations: 0.5336 MB / 2.071 GB, free: 55.73 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/2.737, allocations: 17.89 MB / 2.089 GB, free: 37.39 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/2.74, allocations: 3.103 MB / 2.092 GB, free: 34.26 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.004332/2.744, allocations: 1.681 MB / 2.093 GB, free: 32.57 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004042/2.748, allocations: 2.331 MB / 2.096 GB, free: 30.24 MB / 1.17 GB Notification: Performance of SimCode: time 1.273e-06/2.748, allocations: 3.938 kB / 2.096 GB, free: 30.23 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8956/3.644, allocations: 212.7 MB / 2.303 GB, free: 294.7 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/3.644, allocations: 281.5 kB / 2.304 GB, free: 294.3 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.254/8.898, allocations: 0 / 2.304 GB, free: 294.3 MB / 1.186 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat does not exist to compare? outputFormat=mat