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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005495/0.005495, allocations: 100.7 kB / 15.73 MB, free: 6.047 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.001366/0.001366, allocations: 197.4 kB / 16.67 MB, free: 5.977 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.19 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2421, allocations: 140.4 MB / 1.088 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.008843/0.251, allocations: 7.305 MB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.173/0.4241, allocations: 159.3 MB / 1.25 GB, free: 10.69 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.4255, allocations: 39.81 kB / 1.25 GB, free: 10.65 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005008/0.4305, allocations: 1.946 MB / 1.252 GB, free: 8.695 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003147/0.4337, allocations: 1.15 MB / 1.253 GB, free: 7.543 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.4374, allocations: 1.44 MB / 1.255 GB, free: 6.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005541/0.443, allocations: 5.225 MB / 1.26 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5485/0.9915, allocations: 1.278 MB / 1.261 GB, free: 5.457 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.9945, allocations: 1.691 MB / 1.263 GB, free: 5.457 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.997, allocations: 1.532 MB / 1.264 GB, free: 5.457 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000586/0.9976, allocations: 290.2 kB / 1.264 GB, free: 5.457 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00454/1.002, allocations: 2.575 MB / 1.267 GB, free: 5.457 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005178/1.007, allocations: 4.776 MB / 1.272 GB, free: 5.457 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.008077/1.015, allocations: 4.827 MB / 1.276 GB, free: 4.215 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02058/1.036, allocations: 17.77 MB / 1.294 GB, free: 2.453 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.036, allocations: 0 / 1.294 GB, free: 2.453 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.184e-06/1.036, allocations: 1 kB / 1.294 GB, free: 2.453 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002831/1.036, allocations: 0 / 1.294 GB, free: 2.453 MB / 1.014 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.04364/1.08, allocations: 14.08 MB / 1.307 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.08, allocations: 11.09 kB / 1.307 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004325/1.081, allocations: 240.9 kB / 1.308 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007351/1.088, allocations: 0.9174 MB / 1.309 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.347/2.435, allocations: 0.9957 GB / 2.304 GB, free: 117.7 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/2.435, allocations: 175.1 kB / 2.304 GB, free: 117.5 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008685/2.436, allocations: 237.9 kB / 2.305 GB, free: 117.3 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/2.44, allocations: 2.373 MB / 2.307 GB, free: 114.9 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/2.44, allocations: 1.312 kB / 2.307 GB, free: 114.9 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/2.44, allocations: 67.98 kB / 2.307 GB, free: 114.8 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/2.44, allocations: 40 kB / 2.307 GB, free: 114.8 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/2.444, allocations: 2.467 MB / 2.309 GB, free: 112.3 MB / 1.467 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6966/3.14, allocations: 242.6 MB / 2.546 GB, free: 0.5057 GB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/3.143, allocations: 1.984 MB / 2.548 GB, free: 0.5038 GB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/3.144, allocations: 1.274 MB / 2.55 GB, free: 0.5026 GB / 1.467 GB Notification: Performance of preOpt evalFunc (simulation): time 8.424e-05/3.145, allocations: 43.47 kB / 2.55 GB, free: 0.5025 GB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001483/3.146, allocations: 1.357 MB / 2.551 GB, free: 0.5012 GB / 1.467 GB Notification: Performance of pre-optimization done (n=138): time 2.905e-06/3.146, allocations: 0 / 2.551 GB, free: 0.5012 GB / 1.467 GB Notification: Performance of matching and sorting (n=138): time 0.01187/3.158, allocations: 4.322 MB / 2.555 GB, free: 0.4974 GB / 1.467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/3.158, allocations: 362.5 kB / 2.555 GB, free: 0.497 GB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.339/5.497, allocations: 1.182 GB / 3.738 GB, free: 0.5588 GB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0007915/5.498, allocations: 88.09 kB / 3.738 GB, free: 0.5587 GB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.006646/5.505, allocations: 3.739 MB / 3.742 GB, free: 0.5555 GB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005276/5.505, allocations: 454.8 kB / 3.742 GB, free: 0.5554 GB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/5.507, allocations: 0.6758 MB / 3.743 GB, free: 0.5548 GB / 1.467 GB Notification: Performance of setup shared object (initialization): time 3.722e-05/5.507, allocations: 301.1 kB / 3.743 GB, free: 0.5545 GB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0025/5.51, allocations: 1.923 MB / 3.745 GB, free: 0.5528 GB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002767/5.512, allocations: 2.883 MB / 3.748 GB, free: 0.5499 GB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/5.517, allocations: 4.612 MB / 3.752 GB, free: 0.5451 GB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-05/5.517, allocations: 9.5 kB / 3.752 GB, free: 0.5451 GB / 1.467 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01436/5.532, allocations: 5.99 MB / 3.758 GB, free: 0.5394 GB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002133/5.532, allocations: 205.6 kB / 3.758 GB, free: 0.5392 GB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.954e-05/5.532, allocations: 32.73 kB / 3.758 GB, free: 0.5392 GB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006623/5.533, allocations: 116.8 kB / 3.758 GB, free: 0.5391 GB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/5.535, allocations: 0.6122 MB / 3.759 GB, free: 0.5385 GB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/5.537, allocations: 1.692 MB / 3.761 GB, free: 0.5367 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007964/5.545, allocations: 1.178 MB / 3.762 GB, free: 0.5355 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004649/5.545, allocations: 144 kB / 3.762 GB, free: 0.5354 GB / 1.467 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 (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 (345): * Single equations (assignments): 343 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005733/5.551, allocations: 3.839 MB / 3.766 GB, free: 0.5316 GB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005689/5.557, allocations: 0.7516 MB / 3.766 GB, free: 0.5309 GB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007272/5.564, allocations: 4.352 MB / 3.771 GB, free: 0.5266 GB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/5.564, allocations: 12 kB / 3.771 GB, free: 0.5266 GB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/5.564, allocations: 0 / 3.771 GB, free: 0.5266 GB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/5.564, allocations: 7.984 kB / 3.771 GB, free: 0.5266 GB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/5.578, allocations: 6.781 MB / 3.777 GB, free: 0.52 GB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/5.578, allocations: 3.938 kB / 3.777 GB, free: 0.52 GB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/5.579, allocations: 211.6 kB / 3.777 GB, free: 0.5198 GB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/5.58, allocations: 72.78 kB / 3.778 GB, free: 0.5197 GB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/5.58, allocations: 43.97 kB / 3.778 GB, free: 0.5196 GB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/5.582, allocations: 1.65 MB / 3.779 GB, free: 0.5179 GB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.582, allocations: 6.25 kB / 3.779 GB, free: 0.5179 GB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/5.593, allocations: 3.864 MB / 3.783 GB, free: 0.5141 GB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00852/5.601, allocations: 3.128 MB / 3.786 GB, free: 0.511 GB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004801/5.606, allocations: 39.84 kB / 3.786 GB, free: 0.511 GB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006321/5.613, allocations: 0.7538 MB / 3.787 GB, free: 0.5102 GB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/5.613, allocations: 103.9 kB / 3.787 GB, free: 0.5101 GB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/5.613, allocations: 71.58 kB / 3.787 GB, free: 0.5101 GB / 1.467 GB Notification: Performance of sorting global known variables: time 1.134/6.747, allocations: 0.9475 GB / 4.734 GB, free: 187.2 MB / 1.467 GB Notification: Performance of sort global known variables: time 5.41e-07/6.747, allocations: 0 / 4.734 GB, free: 187.2 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.01024/6.757, allocations: 1.856 MB / 4.736 GB, free: 185.5 MB / 1.467 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01211/6.77, allocations: 5.357 MB / 4.741 GB, free: 180.9 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.005694/6.775, allocations: 5.727 MB / 4.747 GB, free: 175.2 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/6.775, allocations: 6.016 kB / 4.747 GB, free: 175.2 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/6.777, allocations: 2.711 MB / 4.75 GB, free: 172.5 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007696/6.785, allocations: 0.8374 MB / 4.751 GB, free: 171.7 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.509/14.29, allocations: 4.771 GB / 9.521 GB, free: 323.8 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007622/14.3, allocations: 4.649 MB / 9.526 GB, free: 319.1 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.009301/14.31, allocations: 3.006 MB / 9.529 GB, free: 316.2 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009814/14.32, allocations: 4.035 MB / 9.533 GB, free: 312.2 MB / 1.467 GB Notification: Performance of SimCode: time 9.32e-07/14.32, allocations: 0 / 9.533 GB, free: 312.2 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.097/17.42, allocations: 0.7124 GB / 10.25 GB, free: 230.5 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.13/51.55, allocations: 7.859 kB / 10.25 GB, free: 230.5 MB / 1.467 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches