Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",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.001169/0.00117, 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.001243/0.001243, 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.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.523/2.523, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003595, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6719, allocations: 146.8 MB / 0.9809 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006337/0.6782, allocations: 5.088 MB / 0.9858 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.8425, allocations: 131.4 MB / 1.114 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.8437, allocations: 19.88 kB / 1.114 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004227/0.848, allocations: 1.316 MB / 1.115 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.8505, allocations: 0.6987 MB / 1.116 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.853, allocations: 0.8033 MB / 1.117 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003012/0.856, allocations: 1.884 MB / 1.119 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.8572, allocations: 0.7301 MB / 1.119 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.8589, allocations: 0.8951 MB / 1.12 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.8603, allocations: 0.7321 MB / 1.121 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.8605, allocations: 52 kB / 1.121 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/0.8642, allocations: 1.736 MB / 1.123 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001804/0.866, allocations: 1.894 MB / 1.125 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009094/0.8669, allocations: 0.5816 MB / 1.125 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008909/0.8758, allocations: 6.315 MB / 1.131 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.8759, allocations: 4 kB / 1.131 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.108e-06/0.8759, allocations: 4 kB / 1.131 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001722/0.8761, allocations: 0 / 1.131 GB, free: 11.68 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.01452/0.8906, allocations: 5.134 MB / 1.136 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.8907, allocations: 8.031 kB / 1.136 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006683/0.8914, allocations: 198.3 kB / 1.137 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002623/0.894, allocations: 482.5 kB / 1.137 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8506/1.745, allocations: 307.5 MB / 1.437 GB, free: 86.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/1.745, allocations: 138.4 kB / 1.437 GB, free: 85.96 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/1.745, allocations: 180 kB / 1.438 GB, free: 85.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/1.747, allocations: 1.419 MB / 1.439 GB, free: 84.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/1.747, allocations: 3.938 kB / 1.439 GB, free: 84.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.747, allocations: 52 kB / 1.439 GB, free: 84.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/1.747, allocations: 35.95 kB / 1.439 GB, free: 84.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/1.749, allocations: 1.5 MB / 1.441 GB, free: 82.71 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04581/1.795, allocations: 76.69 MB / 1.515 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/1.797, allocations: 1.26 MB / 1.517 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/1.797, allocations: 35.69 kB / 1.517 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009616/1.798, allocations: 0.7602 MB / 1.517 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 3.396e-06/1.798, allocations: 0 / 1.517 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.004312/1.802, allocations: 2.431 MB / 1.52 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/1.802, allocations: 350.5 kB / 1.52 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.065/2.867, allocations: 379.8 MB / 1.891 GB, free: 247 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004798/2.868, allocations: 73.7 kB / 1.891 GB, free: 246.9 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00166/2.87, allocations: 1.606 MB / 1.893 GB, free: 245.5 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/2.87, allocations: 388.9 kB / 1.893 GB, free: 245.1 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.24e-05/2.87, allocations: 48 kB / 1.893 GB, free: 245 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001063/2.87, allocations: 406.6 kB / 1.894 GB, free: 244.6 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/2.872, allocations: 1.201 MB / 1.895 GB, free: 243.4 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/2.873, allocations: 1.925 MB / 1.897 GB, free: 241.2 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/2.875, allocations: 1.624 MB / 1.898 GB, free: 239.6 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/2.875, allocations: 14.34 kB / 1.898 GB, free: 239.6 MB / 1.17 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005469/2.88, allocations: 3.777 MB / 1.902 GB, free: 235.8 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/2.881, allocations: 185.6 kB / 1.902 GB, free: 235.6 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/2.881, allocations: 20 kB / 1.902 GB, free: 235.6 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-05/2.881, allocations: 36 kB / 1.902 GB, free: 235.6 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/2.882, allocations: 487.1 kB / 1.903 GB, free: 235.1 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-05/2.882, allocations: 43.86 kB / 1.903 GB, free: 235.1 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/2.885, allocations: 0.5672 MB / 1.903 GB, free: 234.5 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/2.885, allocations: 108 kB / 1.903 GB, free: 234.4 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (265): * Single equations (assignments): 264 * 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.002293/2.888, allocations: 1.668 MB / 1.905 GB, free: 232.7 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/2.889, allocations: 347.3 kB / 1.905 GB, free: 232.4 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/2.893, allocations: 2.592 MB / 1.908 GB, free: 229.8 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/2.893, allocations: 8 kB / 1.908 GB, free: 229.8 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/2.893, allocations: 7.609 kB / 1.908 GB, free: 229.8 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/2.893, allocations: 3.984 kB / 1.908 GB, free: 229.7 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/2.897, allocations: 2.81 MB / 1.91 GB, free: 226.9 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/2.897, allocations: 0 / 1.91 GB, free: 226.9 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/2.898, allocations: 171.7 kB / 1.911 GB, free: 226.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/2.898, allocations: 4 kB / 1.911 GB, free: 226.7 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/2.898, allocations: 35.97 kB / 1.911 GB, free: 226.7 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/2.898, allocations: 8 kB / 1.911 GB, free: 226.7 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.898, allocations: 3.953 kB / 1.911 GB, free: 226.7 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003834/2.902, allocations: 2.345 MB / 1.913 GB, free: 224.3 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/2.905, allocations: 1.256 MB / 1.914 GB, free: 223 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008213/2.905, allocations: 33.42 kB / 1.914 GB, free: 223 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/2.907, allocations: 323.7 kB / 1.915 GB, free: 222.7 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/2.907, allocations: 84.84 kB / 1.915 GB, free: 222.6 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-05/2.907, allocations: 47.97 kB / 1.915 GB, free: 222.6 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.7188/3.626, allocations: 305.4 MB / 2.213 GB, free: 364.1 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.31e-07/3.626, allocations: 0 / 2.213 GB, free: 364.1 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004165/3.63, allocations: 1.222 MB / 2.214 GB, free: 363 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 (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.006896/3.637, allocations: 3.761 MB / 2.218 GB, free: 359.8 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00438/3.642, allocations: 4.144 MB / 2.222 GB, free: 355.6 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/3.642, allocations: 0 / 2.222 GB, free: 355.6 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/3.643, allocations: 2.019 MB / 2.224 GB, free: 353.6 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/3.645, allocations: 419.5 kB / 2.224 GB, free: 353.2 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/3.662, allocations: 27.1 MB / 2.251 GB, free: 324.8 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/3.664, allocations: 2.426 MB / 2.253 GB, free: 322.3 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002773/3.667, allocations: 1.256 MB / 2.254 GB, free: 321 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/3.669, allocations: 1.757 MB / 2.256 GB, free: 319.3 MB / 1.17 GB Notification: Performance of SimCode: time 7.62e-07/3.669, allocations: 0 / 2.256 GB, free: 319.3 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2084/3.878, allocations: 188.3 MB / 2.44 GB, free: 132.4 MB / 1.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/3.878, allocations: 277.5 kB / 2.44 GB, free: 132 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.999/7.877, allocations: 0 / 2.44 GB, free: 132 MB / 1.17 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat does not exist to compare? outputFormat=mat