Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",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.0007361/0.0007361, allocations: 86.64 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.0008093/0.0008094, 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.34/1.34, allocations: 223.3 MB / 240 MB, free: 5.449 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.388/2.388, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8461/0.8465, allocations: 142.3 MB / 0.9539 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00769/0.8543, allocations: 6.391 MB / 0.9601 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1835/1.038, allocations: 141.5 MB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/1.04, allocations: 35.75 kB / 1.098 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004932/1.045, allocations: 1.631 MB / 1.1 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003242/1.048, allocations: 0.9518 MB / 1.101 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/1.051, allocations: 1.07 MB / 1.102 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005472/1.057, allocations: 4.724 MB / 1.106 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/1.058, allocations: 1.004 MB / 1.107 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/1.061, allocations: 1.35 MB / 1.109 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/1.063, allocations: 1.261 MB / 1.11 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003103/1.064, allocations: 68 kB / 1.11 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004998/1.069, allocations: 2.059 MB / 1.112 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004171/1.073, allocations: 4.71 MB / 1.117 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001962/1.075, allocations: 1.24 MB / 1.118 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01603/1.091, allocations: 15.28 MB / 1.133 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.091, allocations: 4 kB / 1.133 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.876e-06/1.091, allocations: 0 / 1.133 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003684/1.091, allocations: 0 / 1.133 GB, free: 8.551 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: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.03129/1.123, allocations: 11.45 MB / 1.144 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.123, allocations: 12.03 kB / 1.144 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/1.124, allocations: 236.7 kB / 1.144 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006597/1.13, allocations: 0.9342 MB / 1.145 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.752/3.883, allocations: 0.9943 GB / 2.139 GB, free: 422.5 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/3.883, allocations: 176.3 kB / 2.14 GB, free: 422.4 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005542/3.884, allocations: 235 kB / 2.14 GB, free: 422.3 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004676/3.889, allocations: 2.124 MB / 2.142 GB, free: 421.5 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/3.889, allocations: 1.719 kB / 2.142 GB, free: 421.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/3.889, allocations: 67.08 kB / 2.142 GB, free: 421.4 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/3.889, allocations: 37.94 kB / 2.142 GB, free: 421.4 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005916/3.895, allocations: 2.217 MB / 2.144 GB, free: 420.9 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1371/4.032, allocations: 242.7 MB / 2.381 GB, free: 196.8 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002359/4.034, allocations: 1.612 MB / 2.383 GB, free: 195.2 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009463/4.035, allocations: 0.9181 MB / 2.384 GB, free: 194.3 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.911e-05/4.035, allocations: 41.11 kB / 2.384 GB, free: 194.3 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/4.037, allocations: 1.109 MB / 2.385 GB, free: 193.1 MB / 1.17 GB Notification: Performance of pre-optimization done (n=138): time 2.164e-06/4.037, allocations: 7.938 kB / 2.385 GB, free: 193.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=138): time 0.007774/4.044, allocations: 3.56 MB / 2.388 GB, free: 189.5 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/4.045, allocations: 362.5 kB / 2.389 GB, free: 189.1 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.864/6.909, allocations: 1.183 GB / 3.571 GB, free: 408.8 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005789/6.909, allocations: 85.7 kB / 3.571 GB, free: 408.7 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.004686/6.914, allocations: 3.741 MB / 3.575 GB, free: 405.2 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/6.915, allocations: 455.4 kB / 3.575 GB, free: 404.8 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/6.915, allocations: 52 kB / 3.575 GB, free: 404.7 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001386/6.915, allocations: 447.7 kB / 3.576 GB, free: 404.3 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/6.917, allocations: 1.659 MB / 3.577 GB, free: 402.6 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/6.919, allocations: 2.614 MB / 3.58 GB, free: 399.7 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002283/6.921, allocations: 2.183 MB / 3.582 GB, free: 397.5 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/6.921, allocations: 8 kB / 3.582 GB, free: 397.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009209/6.931, allocations: 5.451 MB / 3.587 GB, free: 392 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001495/6.931, allocations: 205.6 kB / 3.588 GB, free: 391.8 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/6.931, allocations: 28 kB / 3.588 GB, free: 391.8 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005568/6.931, allocations: 128.9 kB / 3.588 GB, free: 391.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/6.933, allocations: 0.6161 MB / 3.588 GB, free: 391.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/6.935, allocations: 1.571 MB / 3.59 GB, free: 389.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008616/6.944, allocations: 1.193 MB / 3.591 GB, free: 388.1 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005668/6.945, allocations: 147 kB / 3.591 GB, free: 388 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (345): * Single equations (assignments): 343 * 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.005675/6.95, allocations: 3.848 MB / 3.595 GB, free: 384.1 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003799/6.954, allocations: 0.7602 MB / 3.596 GB, free: 383.4 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007198/6.961, allocations: 3.839 MB / 3.6 GB, free: 379.5 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/6.961, allocations: 12 kB / 3.6 GB, free: 379.5 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/6.961, allocations: 4 kB / 3.6 GB, free: 379.5 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/6.961, allocations: 11.62 kB / 3.6 GB, free: 379.5 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/6.972, allocations: 6.789 MB / 3.606 GB, free: 372.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/6.972, allocations: 4 kB / 3.606 GB, free: 372.7 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009548/6.973, allocations: 215.7 kB / 3.606 GB, free: 372.5 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/6.974, allocations: 80.78 kB / 3.606 GB, free: 372.4 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/6.974, allocations: 43.97 kB / 3.606 GB, free: 372.3 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/6.975, allocations: 1.548 MB / 3.608 GB, free: 370.6 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/6.975, allocations: 0 / 3.608 GB, free: 370.6 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007155/6.982, allocations: 3.349 MB / 3.611 GB, free: 367.3 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006991/6.989, allocations: 3.159 MB / 3.614 GB, free: 364.1 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003532/6.993, allocations: 31.98 kB / 3.614 GB, free: 364 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004972/6.998, allocations: 0.7833 MB / 3.615 GB, free: 363.3 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/6.998, allocations: 105.1 kB / 3.615 GB, free: 363.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/6.998, allocations: 67.97 kB / 3.615 GB, free: 363.1 MB / 1.186 GB Notification: Performance of sorting global known variables: time 1.945/8.944, allocations: 0.9476 GB / 4.563 GB, free: 324.1 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.012e-06/8.944, allocations: 1.469 kB / 4.563 GB, free: 324.1 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.008573/8.952, allocations: 1.855 MB / 4.565 GB, free: 322.4 MB / 1.186 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 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * 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.01065/8.963, allocations: 4.82 MB / 4.569 GB, free: 318.2 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006088/8.969, allocations: 5.204 MB / 4.575 GB, free: 313 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/8.969, allocations: 4 kB / 4.575 GB, free: 313 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/8.972, allocations: 2.458 MB / 4.577 GB, free: 310.5 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01025/8.982, allocations: 0.7827 MB / 4.578 GB, free: 309.8 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.883/15.87, allocations: 2.93 GB / 7.508 GB, free: 441.7 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004612/15.87, allocations: 4.654 MB / 7.512 GB, free: 440.1 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.007592/15.88, allocations: 3.007 MB / 7.515 GB, free: 439.5 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008622/15.89, allocations: 4.093 MB / 7.519 GB, free: 436.3 MB / 1.186 GB Notification: Performance of SimCode: time 1.262e-06/15.89, allocations: 0 / 7.519 GB, free: 436.3 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.183/17.07, allocations: 0.5019 GB / 8.021 GB, free: 367 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002972/17.07, allocations: 306.6 kB / 8.021 GB, free: 366.7 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/24.83, allocations: 0 / 8.021 GB, free: 366.7 MB / 1.186 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat does not exist to compare? outputFormat=mat