Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_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.000724/0.000724, allocations: 87.03 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.0007717/0.0007717, 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.39/1.39, allocations: 223.2 MB / 240 MB, free: 5.418 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.441/2.441, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 16 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8505/0.8509, allocations: 142.3 MB / 0.9539 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.006798/0.8577, allocations: 6.096 MB / 0.9598 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1828/1.041, allocations: 141.6 MB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/1.043, allocations: 31.81 kB / 1.098 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005419/1.048, allocations: 1.631 MB / 1.1 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003806/1.052, allocations: 0.9838 MB / 1.101 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00377/1.056, allocations: 1.051 MB / 1.102 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006986/1.063, allocations: 4.736 MB / 1.106 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/1.065, allocations: 0.91 MB / 1.107 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/1.068, allocations: 1.362 MB / 1.109 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/1.07, allocations: 1.218 MB / 1.11 GB, free: 144 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003842/1.071, allocations: 72 kB / 1.11 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00592/1.077, allocations: 1.88 MB / 1.112 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004283/1.081, allocations: 2.944 MB / 1.114 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002872/1.084, allocations: 0.7841 MB / 1.115 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01348/1.098, allocations: 8.977 MB / 1.124 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/1.098, allocations: 4 kB / 1.124 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.346e-06/1.098, allocations: 0 / 1.124 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003264/1.098, allocations: 3.938 kB / 1.124 GB, free: 1.441 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.02031/1.118, allocations: 6.756 MB / 1.131 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.461e-05/1.118, allocations: 8.031 kB / 1.131 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001166/1.12, allocations: 219.7 kB / 1.131 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005175/1.125, allocations: 0.6142 MB / 1.131 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9219/2.047, allocations: 275.8 MB / 1.401 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/2.047, allocations: 138.9 kB / 1.401 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00028/2.047, allocations: 188 kB / 1.401 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/2.05, allocations: 1.788 MB / 1.403 GB, free: 142 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/2.05, allocations: 7.938 kB / 1.403 GB, free: 142 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/2.05, allocations: 71.67 kB / 1.403 GB, free: 142 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/2.05, allocations: 36 kB / 1.403 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/2.053, allocations: 1.81 MB / 1.405 GB, free: 140.1 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04876/2.101, allocations: 69.98 MB / 1.473 GB, free: 70.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/2.104, allocations: 1.564 MB / 1.475 GB, free: 68.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009929/2.105, allocations: 0.855 MB / 1.475 GB, free: 67.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.905e-05/2.105, allocations: 41.09 kB / 1.475 GB, free: 67.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/2.107, allocations: 1.02 MB / 1.476 GB, free: 66.51 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.785e-06/2.107, allocations: 0 / 1.476 GB, free: 66.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.006761/2.113, allocations: 3.198 MB / 1.48 GB, free: 63.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/2.113, allocations: 342.5 kB / 1.48 GB, free: 62.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8885/3.002, allocations: 316 MB / 1.788 GB, free: 329.5 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004873/3.003, allocations: 69.69 kB / 1.789 GB, free: 329.4 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.004073/3.007, allocations: 2.226 MB / 1.791 GB, free: 327.4 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/3.008, allocations: 379.1 kB / 1.791 GB, free: 327.1 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/3.008, allocations: 36 kB / 1.791 GB, free: 327.1 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002702/3.008, allocations: 392 kB / 1.792 GB, free: 326.7 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/3.011, allocations: 1.351 MB / 1.793 GB, free: 325.3 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002609/3.014, allocations: 1.667 MB / 1.794 GB, free: 323.6 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/3.016, allocations: 1.662 MB / 1.796 GB, free: 321.9 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/3.016, allocations: 0 / 1.796 GB, free: 321.9 MB / 1.139 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01219/3.029, allocations: 3.932 MB / 1.8 GB, free: 318 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002043/3.029, allocations: 167.9 kB / 1.8 GB, free: 317.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/3.029, allocations: 8.875 kB / 1.8 GB, free: 317.8 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007154/3.03, allocations: 96.94 kB / 1.8 GB, free: 317.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/3.032, allocations: 394.7 kB / 1.801 GB, free: 317.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/3.034, allocations: 1.531 MB / 1.802 GB, free: 315.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/3.038, allocations: 0.6503 MB / 1.803 GB, free: 315 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/3.039, allocations: 85.38 kB / 1.803 GB, free: 314.9 MB / 1.139 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.003627/3.042, allocations: 2.172 MB / 1.805 GB, free: 312.8 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/3.044, allocations: 457.9 kB / 1.805 GB, free: 312.3 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005271/3.05, allocations: 3.042 MB / 1.808 GB, free: 309.3 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/3.05, allocations: 12 kB / 1.808 GB, free: 309.3 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/3.05, allocations: 0 / 1.808 GB, free: 309.3 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/3.05, allocations: 3.984 kB / 1.808 GB, free: 309.3 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0064/3.056, allocations: 4.092 MB / 1.812 GB, free: 305.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/3.056, allocations: 0 / 1.812 GB, free: 305.1 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/3.057, allocations: 187.7 kB / 1.812 GB, free: 305 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/3.057, allocations: 92.64 kB / 1.813 GB, free: 304.9 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/3.058, allocations: 39.97 kB / 1.813 GB, free: 304.8 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/3.059, allocations: 1.552 MB / 1.814 GB, free: 303.1 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/3.059, allocations: 3.5 kB / 1.814 GB, free: 303.1 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/3.064, allocations: 2.689 MB / 1.817 GB, free: 300.4 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003801/3.068, allocations: 1.794 MB / 1.819 GB, free: 298.6 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001851/3.07, allocations: 28 kB / 1.819 GB, free: 298.6 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/3.073, allocations: 435.9 kB / 1.819 GB, free: 298.1 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/3.073, allocations: 96.8 kB / 1.819 GB, free: 298.1 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/3.073, allocations: 63.92 kB / 1.819 GB, free: 298 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.1669/3.24, allocations: 251.6 MB / 2.065 GB, free: 46.36 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.362e-06/3.24, allocations: 0 / 2.065 GB, free: 46.36 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004991/3.245, allocations: 1.38 MB / 2.066 GB, free: 45.05 MB / 1.139 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.007874/3.253, allocations: 4.09 MB / 2.07 GB, free: 41.2 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004444/3.257, allocations: 3.98 MB / 2.074 GB, free: 37.2 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/3.257, allocations: 0 / 2.074 GB, free: 37.2 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/3.259, allocations: 1.739 MB / 2.076 GB, free: 35.43 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00674/3.266, allocations: 0.5591 MB / 2.076 GB, free: 34.88 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.645/4.911, allocations: 0.7809 GB / 2.857 GB, free: 101.9 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/4.913, allocations: 3.016 MB / 2.86 GB, free: 98.87 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004443/4.918, allocations: 1.694 MB / 2.862 GB, free: 97.34 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003828/4.922, allocations: 2.338 MB / 2.864 GB, free: 95.01 MB / 1.139 GB Notification: Performance of SimCode: time 9.62e-07/4.922, allocations: 0 / 2.864 GB, free: 95.01 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7383/5.66, allocations: 215.8 MB / 3.075 GB, free: 311.5 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/5.66, allocations: 287.8 kB / 3.075 GB, free: 311.1 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.596/11.26, allocations: 0 / 3.075 GB, free: 311.1 MB / 1.139 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat does not exist to compare? outputFormat=mat