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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00116/0.00116, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001266, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 71.09 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2485, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008363/0.2569, allocations: 7.263 MB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.4133, allocations: 155.5 MB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.4145, allocations: 27.81 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.4189, allocations: 1.821 MB / 1.224 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.4213, allocations: 0.8333 MB / 1.225 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.4237, allocations: 1.027 MB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003567/0.4273, allocations: 3.559 MB / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.4286, allocations: 0.9211 MB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.4301, allocations: 1.153 MB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.4316, allocations: 1.055 MB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004001/0.432, allocations: 196 kB / 1.233 GB, free: 488 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.4353, allocations: 2.208 MB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001715/0.437, allocations: 2.054 MB / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002644/0.4397, allocations: 2.153 MB / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007343/0.447, allocations: 7.765 MB / 1.247 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4471, allocations: 4 kB / 1.247 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4471, allocations: 0 / 1.247 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.534e-05/0.4471, allocations: 0 / 1.247 GB, free: 2.254 MB / 0.9981 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.4343/0.8814, allocations: 6.231 MB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.8815, allocations: 9.5 kB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/0.8817, allocations: 192.7 kB / 1.253 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.8833, allocations: 469.4 kB / 1.254 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2421/1.125, allocations: 321.1 MB / 1.567 GB, free: 15.08 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/1.126, allocations: 134.4 kB / 1.567 GB, free: 14.95 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/1.126, allocations: 184 kB / 1.567 GB, free: 14.77 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/1.129, allocations: 1.661 MB / 1.569 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/1.129, allocations: 3.938 kB / 1.569 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/1.129, allocations: 52 kB / 1.569 GB, free: 12.99 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/1.129, allocations: 32 kB / 1.569 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/1.132, allocations: 1.726 MB / 1.571 GB, free: 11.22 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05992/1.191, allocations: 77 MB / 1.646 GB, free: 14.04 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/1.194, allocations: 1.584 MB / 1.648 GB, free: 12.45 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/1.195, allocations: 1.041 MB / 1.649 GB, free: 11.4 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.992e-05/1.195, allocations: 34.98 kB / 1.649 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/1.197, allocations: 0.9812 MB / 1.65 GB, free: 10.38 MB / 1.201 GB Notification: Performance of pre-optimization done (n=118): time 3.556e-06/1.197, allocations: 0 / 1.65 GB, free: 10.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=118): time 0.005431/1.202, allocations: 3.009 MB / 1.652 GB, free: 7.359 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002228/1.202, allocations: 350.5 kB / 1.653 GB, free: 6.969 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8123/2.015, allocations: 379.7 MB / 2.024 GB, free: 172.7 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0003299/2.015, allocations: 73.7 kB / 2.024 GB, free: 172.6 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001699/2.017, allocations: 1.606 MB / 2.025 GB, free: 171.2 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/2.017, allocations: 387.5 kB / 2.026 GB, free: 170.9 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007387/2.018, allocations: 0.5085 MB / 2.026 GB, free: 170.4 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 3.337e-05/2.018, allocations: 301.8 kB / 2.026 GB, free: 170.1 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/2.02, allocations: 1.439 MB / 2.028 GB, free: 168.6 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/2.022, allocations: 2.167 MB / 2.03 GB, free: 166.2 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/2.025, allocations: 3.535 MB / 2.033 GB, free: 162.4 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/2.025, allocations: 8.688 kB / 2.033 GB, free: 162.4 MB / 1.264 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005848/2.031, allocations: 4.26 MB / 2.038 GB, free: 158.1 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/2.031, allocations: 185.6 kB / 2.038 GB, free: 157.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/2.031, allocations: 30 kB / 2.038 GB, free: 157.9 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/2.031, allocations: 32 kB / 2.038 GB, free: 157.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/2.033, allocations: 478.9 kB / 2.038 GB, free: 157.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-05/2.033, allocations: 43.86 kB / 2.038 GB, free: 157.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/2.035, allocations: 0.5484 MB / 2.039 GB, free: 156.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/2.036, allocations: 110.8 kB / 2.039 GB, free: 156.7 MB / 1.264 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001764/2.037, allocations: 1.668 MB / 2.041 GB, free: 155 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/2.039, allocations: 347.3 kB / 2.041 GB, free: 154.7 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/2.043, allocations: 3.035 MB / 2.044 GB, free: 151.7 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/2.043, allocations: 15.94 kB / 2.044 GB, free: 151.6 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/2.043, allocations: 4 kB / 2.044 GB, free: 151.6 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/2.043, allocations: 8.141 kB / 2.044 GB, free: 151.6 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/2.047, allocations: 2.808 MB / 2.047 GB, free: 148.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/2.047, allocations: 3.938 kB / 2.047 GB, free: 148.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/2.047, allocations: 163.8 kB / 2.047 GB, free: 148.6 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/2.047, allocations: 4 kB / 2.047 GB, free: 148.6 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/2.047, allocations: 41.3 kB / 2.047 GB, free: 148.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/2.047, allocations: 7.938 kB / 2.047 GB, free: 148.6 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.047, allocations: 0 / 2.047 GB, free: 148.6 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003945/2.051, allocations: 2.817 MB / 2.05 GB, free: 145.7 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/2.053, allocations: 1.233 MB / 2.051 GB, free: 144.5 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/2.054, allocations: 31.94 kB / 2.051 GB, free: 144.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/2.056, allocations: 303.9 kB / 2.051 GB, free: 144.1 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/2.056, allocations: 84.83 kB / 2.051 GB, free: 144 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/2.056, allocations: 47.97 kB / 2.051 GB, free: 144 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.6382/2.695, allocations: 305.4 MB / 2.349 GB, free: 348.3 MB / 1.279 GB Notification: Performance of sort global known variables: time 5.41e-07/2.695, allocations: 0 / 2.349 GB, free: 348.3 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003457/2.698, allocations: 1.246 MB / 2.351 GB, free: 347.2 MB / 1.279 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006357/2.704, allocations: 4.215 MB / 2.355 GB, free: 343.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.005016/2.709, allocations: 5.27 MB / 2.36 GB, free: 338.3 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/2.709, allocations: 7.938 kB / 2.36 GB, free: 338.3 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/2.711, allocations: 2.243 MB / 2.362 GB, free: 336 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/2.714, allocations: 0.4955 MB / 2.363 GB, free: 335.6 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.239/4.952, allocations: 1.515 GB / 3.877 GB, free: 251.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/4.954, allocations: 2.357 MB / 3.88 GB, free: 249 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002701/4.956, allocations: 1.25 MB / 3.881 GB, free: 247.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00218/4.959, allocations: 1.764 MB / 3.883 GB, free: 246.1 MB / 1.279 GB Notification: Performance of SimCode: time 7.51e-07/4.959, allocations: 4 kB / 3.883 GB, free: 246.1 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7676/5.726, allocations: 255.4 MB / 4.132 GB, free: 8.25 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.28/15.01, allocations: 20.52 kB / 4.132 GB, free: 8.234 MB / 1.295 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches