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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.008157/0.008157, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001858/0.001859, allocations: 190 kB / 16.67 MB, free: 5.934 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.453/2.453, allocations: 469.4 MB / 0.7422 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 1.064 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6564/0.6577, allocations: 159.1 MB / 1.22 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.00737/0.6651, allocations: 7.27 MB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1376/0.8027, allocations: 155.5 MB / 1.379 GB, free: 14.86 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009031/0.8036, allocations: 35.81 kB / 1.379 GB, free: 14.83 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003366/0.807, allocations: 1.821 MB / 1.381 GB, free: 13 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.8086, allocations: 0.8585 MB / 1.381 GB, free: 12.14 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.8105, allocations: 1.037 MB / 1.382 GB, free: 11.11 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002544/0.813, allocations: 3.586 MB / 1.386 GB, free: 7.52 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009843/0.814, allocations: 0.9095 MB / 1.387 GB, free: 6.559 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.8151, allocations: 1.173 MB / 1.388 GB, free: 5.383 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009826/0.816, allocations: 1.051 MB / 1.389 GB, free: 4.328 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.8163, allocations: 196 kB / 1.389 GB, free: 4.137 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.8188, allocations: 2.239 MB / 1.391 GB, free: 1.895 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.8201, allocations: 2.054 MB / 1.393 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.8219, allocations: 2.15 MB / 1.395 GB, free: 13.68 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007422/0.8293, allocations: 7.877 MB / 1.403 GB, free: 5.773 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8293, allocations: 0 / 1.403 GB, free: 5.773 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8293, allocations: 0 / 1.403 GB, free: 5.773 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.755e-05/0.8294, allocations: 0 / 1.403 GB, free: 5.773 MB / 1.123 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.009954/0.8393, allocations: 6.387 MB / 1.409 GB, free: 15.3 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.8394, allocations: 16.62 kB / 1.409 GB, free: 15.28 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/0.8396, allocations: 194.5 kB / 1.41 GB, free: 15.08 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.8409, allocations: 490 kB / 1.41 GB, free: 14.6 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7429/1.584, allocations: 321.2 MB / 1.724 GB, free: 191.5 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/1.584, allocations: 134.4 kB / 1.724 GB, free: 191.3 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/1.584, allocations: 184 kB / 1.724 GB, free: 191.1 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/1.587, allocations: 1.66 MB / 1.726 GB, free: 189.4 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/1.587, allocations: 0 / 1.726 GB, free: 189.4 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.587, allocations: 52 kB / 1.726 GB, free: 189.4 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/1.587, allocations: 37.8 kB / 1.726 GB, free: 189.3 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/1.589, allocations: 1.726 MB / 1.727 GB, free: 187.6 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04075/1.63, allocations: 76.97 MB / 1.803 GB, free: 110.4 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/1.632, allocations: 1.571 MB / 1.804 GB, free: 108.9 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009508/1.633, allocations: 1.039 MB / 1.805 GB, free: 107.8 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 8.528e-05/1.633, allocations: 37.17 kB / 1.805 GB, free: 107.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/1.634, allocations: 0.9811 MB / 1.806 GB, free: 106.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=118): time 4.689e-06/1.634, allocations: 0 / 1.806 GB, free: 106.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=118): time 0.004485/1.639, allocations: 3.027 MB / 1.809 GB, free: 103.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/1.639, allocations: 350.5 kB / 1.809 GB, free: 103.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9514/2.59, allocations: 379.7 MB / 2.18 GB, free: 0.5082 GB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.0003508/2.591, allocations: 73.7 kB / 2.18 GB, free: 0.5081 GB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/2.592, allocations: 1.61 MB / 2.182 GB, free: 0.5069 GB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/2.593, allocations: 412.8 kB / 2.182 GB, free: 0.5067 GB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005434/2.593, allocations: 0.5135 MB / 2.183 GB, free: 0.5063 GB / 1.498 GB Notification: Performance of setup shared object (initialization): time 3.711e-05/2.593, allocations: 308.7 kB / 2.183 GB, free: 0.506 GB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/2.595, allocations: 1.432 MB / 2.184 GB, free: 0.5047 GB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/2.597, allocations: 2.176 MB / 2.186 GB, free: 0.5025 GB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/2.6, allocations: 3.538 MB / 2.19 GB, free: 0.499 GB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/2.6, allocations: 8 kB / 2.19 GB, free: 0.499 GB / 1.498 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005701/2.606, allocations: 4.273 MB / 2.194 GB, free: 0.4948 GB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/2.606, allocations: 190.4 kB / 2.194 GB, free: 0.4946 GB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/2.606, allocations: 22.67 kB / 2.194 GB, free: 0.4946 GB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.543e-05/2.606, allocations: 36 kB / 2.194 GB, free: 0.4945 GB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/2.607, allocations: 475.2 kB / 2.195 GB, free: 0.4941 GB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/2.607, allocations: 43.86 kB / 2.195 GB, free: 0.494 GB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/2.61, allocations: 0.5599 MB / 2.195 GB, free: 0.4935 GB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/2.61, allocations: 112 kB / 2.195 GB, free: 0.4934 GB / 1.498 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.00168/2.612, allocations: 1.664 MB / 2.197 GB, free: 0.4918 GB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009335/2.613, allocations: 365.5 kB / 2.197 GB, free: 0.4914 GB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/2.616, allocations: 3.042 MB / 2.2 GB, free: 0.4884 GB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/2.616, allocations: 8 kB / 2.2 GB, free: 0.4884 GB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/2.616, allocations: 0 / 2.2 GB, free: 0.4884 GB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/2.616, allocations: 7.969 kB / 2.2 GB, free: 0.4884 GB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/2.619, allocations: 2.823 MB / 2.203 GB, free: 497.3 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/2.619, allocations: 3.938 kB / 2.203 GB, free: 497.3 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/2.619, allocations: 159.8 kB / 2.203 GB, free: 497.1 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/2.619, allocations: 4 kB / 2.203 GB, free: 497.1 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/2.619, allocations: 39.91 kB / 2.203 GB, free: 497.1 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/2.619, allocations: 8 kB / 2.203 GB, free: 497.1 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/2.619, allocations: 0 / 2.203 GB, free: 497.1 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/2.623, allocations: 2.827 MB / 2.206 GB, free: 494.2 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/2.624, allocations: 1.259 MB / 2.207 GB, free: 492.9 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005376/2.625, allocations: 38.59 kB / 2.207 GB, free: 492.9 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/2.627, allocations: 303.9 kB / 2.208 GB, free: 492.6 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/2.627, allocations: 84.83 kB / 2.208 GB, free: 492.5 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/2.627, allocations: 51.97 kB / 2.208 GB, free: 492.5 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.1892/2.816, allocations: 305.3 MB / 2.506 GB, free: 187.1 MB / 1.498 GB Notification: Performance of sort global known variables: time 6.11e-07/2.816, allocations: 0 / 2.506 GB, free: 187.1 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.003668/2.82, allocations: 1.259 MB / 2.507 GB, free: 185.8 MB / 1.498 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.005968/2.826, allocations: 4.268 MB / 2.511 GB, free: 181.7 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.003828/2.83, allocations: 4.621 MB / 2.516 GB, free: 177.1 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/2.83, allocations: 4 kB / 2.516 GB, free: 177.1 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/2.831, allocations: 2.239 MB / 2.518 GB, free: 174.9 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/2.834, allocations: 483.4 kB / 2.519 GB, free: 174.4 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.473/5.307, allocations: 1.504 GB / 4.023 GB, free: 412.8 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/5.309, allocations: 2.361 MB / 4.025 GB, free: 410.4 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.002342/5.311, allocations: 1.251 MB / 4.026 GB, free: 409.3 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001841/5.313, allocations: 1.762 MB / 4.028 GB, free: 407.5 MB / 1.514 GB Notification: Performance of SimCode: time 5.61e-07/5.313, allocations: 0 / 4.028 GB, free: 407.5 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.504/8.817, allocations: 253.1 MB / 4.275 GB, free: 155.9 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.78/27.6, allocations: 4.438 kB / 4.275 GB, free: 155.9 MB / 1.514 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