Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_9_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.001045/0.001045, allocations: 86.56 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.001342/0.001343, 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.466/1.466, allocations: 223.2 MB / 240 MB, free: 5.32 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.455/2.455, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.000335, allocations: 16.2 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.819/0.8193, allocations: 142.3 MB / 0.9539 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005377/0.8247, allocations: 5.262 MB / 0.959 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1591/0.9839, allocations: 140.6 MB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.9854, allocations: 23.88 kB / 1.096 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004464/0.9899, allocations: 1.507 MB / 1.098 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.9927, allocations: 0.609 MB / 1.098 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.9957, allocations: 0.7812 MB / 1.099 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003681/0.9994, allocations: 3.01 MB / 1.102 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/1.001, allocations: 0.7302 MB / 1.103 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/1.002, allocations: 0.9456 MB / 1.104 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/1.003, allocations: 0.8208 MB / 1.105 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/1.004, allocations: 48 kB / 1.105 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004072/1.008, allocations: 1.825 MB / 1.106 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001745/1.009, allocations: 1.945 MB / 1.108 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006753/1.01, allocations: 0.5855 MB / 1.109 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006667/1.017, allocations: 6.315 MB / 1.115 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/1.017, allocations: 0 / 1.115 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.134e-06/1.017, allocations: 0 / 1.115 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.307e-05/1.017, allocations: 0 / 1.115 GB, free: 10.81 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.008879/1.026, allocations: 5.126 MB / 1.12 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.026, allocations: 8.031 kB / 1.12 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/1.026, allocations: 194.3 kB / 1.12 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/1.027, allocations: 478.6 kB / 1.121 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8369/1.864, allocations: 321 MB / 1.434 GB, free: 112.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/1.864, allocations: 130.4 kB / 1.434 GB, free: 112.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004542/1.865, allocations: 184 kB / 1.434 GB, free: 111.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/1.868, allocations: 1.445 MB / 1.436 GB, free: 110.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/1.868, allocations: 0 / 1.436 GB, free: 110.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.868, allocations: 52 kB / 1.436 GB, free: 110.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/1.868, allocations: 28 kB / 1.436 GB, free: 110.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/1.87, allocations: 1.496 MB / 1.437 GB, free: 108.8 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04496/1.915, allocations: 76.69 MB / 1.512 GB, free: 31.99 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/1.917, allocations: 1.253 MB / 1.513 GB, free: 30.72 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/1.918, allocations: 0.6949 MB / 1.514 GB, free: 30.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.684e-05/1.918, allocations: 37.17 kB / 1.514 GB, free: 29.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/1.919, allocations: 0.7585 MB / 1.515 GB, free: 29.22 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 3.016e-06/1.919, allocations: 0 / 1.515 GB, free: 29.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.00396/1.923, allocations: 2.338 MB / 1.517 GB, free: 26.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.923, allocations: 350.5 kB / 1.518 GB, free: 26.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9849/2.908, allocations: 379.7 MB / 1.888 GB, free: 232.2 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003318/2.909, allocations: 77.69 kB / 1.888 GB, free: 232.1 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001357/2.91, allocations: 1.604 MB / 1.89 GB, free: 230.6 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/2.91, allocations: 381.9 kB / 1.89 GB, free: 230.2 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/2.91, allocations: 47.84 kB / 1.89 GB, free: 230.2 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/2.91, allocations: 410.6 kB / 1.891 GB, free: 229.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/2.912, allocations: 1.201 MB / 1.892 GB, free: 228.6 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/2.913, allocations: 1.934 MB / 1.894 GB, free: 226.4 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/2.915, allocations: 1.621 MB / 1.895 GB, free: 224.8 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/2.915, allocations: 8 kB / 1.895 GB, free: 224.8 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004696/2.92, allocations: 3.78 MB / 1.899 GB, free: 221 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/2.92, allocations: 191.7 kB / 1.899 GB, free: 220.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/2.92, allocations: 24 kB / 1.899 GB, free: 220.8 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.879e-05/2.92, allocations: 33.41 kB / 1.899 GB, free: 220.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/2.921, allocations: 479.1 kB / 1.9 GB, free: 220.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.073e-05/2.921, allocations: 47.64 kB / 1.9 GB, free: 220.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/2.924, allocations: 0.5596 MB / 1.9 GB, free: 219.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/2.924, allocations: 116.7 kB / 1.901 GB, free: 219.6 MB / 1.139 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.001743/2.925, allocations: 1.661 MB / 1.902 GB, free: 217.9 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006182/2.926, allocations: 347.3 kB / 1.902 GB, free: 217.5 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/2.929, allocations: 2.589 MB / 1.905 GB, free: 214.9 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/2.929, allocations: 8 kB / 1.905 GB, free: 214.9 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/2.929, allocations: 0.5156 kB / 1.905 GB, free: 214.9 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/2.929, allocations: 3.984 kB / 1.905 GB, free: 214.9 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/2.931, allocations: 2.822 MB / 1.908 GB, free: 212.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/2.931, allocations: 4 kB / 1.908 GB, free: 212.1 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005592/2.932, allocations: 159.7 kB / 1.908 GB, free: 211.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/2.932, allocations: 4 kB / 1.908 GB, free: 211.9 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/2.932, allocations: 41.72 kB / 1.908 GB, free: 211.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/2.932, allocations: 8 kB / 1.908 GB, free: 211.9 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.932, allocations: 3.844 kB / 1.908 GB, free: 211.9 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/2.935, allocations: 2.353 MB / 1.91 GB, free: 209.5 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/2.936, allocations: 1.257 MB / 1.912 GB, free: 208.2 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/2.936, allocations: 28 kB / 1.912 GB, free: 208.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/2.938, allocations: 315.9 kB / 1.912 GB, free: 207.8 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/2.938, allocations: 80.89 kB / 1.912 GB, free: 207.8 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/2.938, allocations: 49.38 kB / 1.912 GB, free: 207.7 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.6597/3.598, allocations: 305.4 MB / 2.21 GB, free: 341.4 MB / 1.139 GB Notification: Performance of sort global known variables: time 7.72e-07/3.598, allocations: 0 / 2.21 GB, free: 341.4 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003334/3.601, allocations: 1.227 MB / 2.211 GB, free: 340.3 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 (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.00487/3.606, allocations: 3.758 MB / 2.215 GB, free: 337 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003409/3.609, allocations: 4.139 MB / 2.219 GB, free: 332.9 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/3.609, allocations: 7.938 kB / 2.219 GB, free: 332.9 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/3.611, allocations: 2.021 MB / 2.221 GB, free: 330.9 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/3.613, allocations: 431 kB / 2.222 GB, free: 330.4 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.544/5.157, allocations: 0.9189 GB / 3.14 GB, free: 263.6 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/5.158, allocations: 2.35 MB / 3.143 GB, free: 261.2 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002735/5.161, allocations: 1.255 MB / 3.144 GB, free: 260.1 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/5.163, allocations: 1.752 MB / 3.146 GB, free: 258.3 MB / 1.139 GB Notification: Performance of SimCode: time 1.212e-06/5.163, allocations: 0 / 3.146 GB, free: 258.3 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.707/11.87, allocations: 190.6 MB / 3.332 GB, free: 69.01 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/11.87, allocations: 274 kB / 3.332 GB, free: 68.65 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.817/15.69, allocations: 0 / 3.332 GB, free: 68.65 MB / 1.139 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat does not exist to compare? outputFormat=mat