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.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.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.001522/0.001522, allocations: 108.6 kB / 15.73 MB, free: 72 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.001761/0.001761, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.371 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.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.3 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2383, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007818/0.2462, allocations: 6.044 MB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.157/0.4032, allocations: 155.3 MB / 1.245 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.4042, allocations: 27.88 kB / 1.245 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004523/0.4088, allocations: 1.786 MB / 1.247 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.4111, allocations: 0.7562 MB / 1.248 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.4136, allocations: 1.025 MB / 1.249 GB, free: 12.37 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003637/0.4173, allocations: 3.373 MB / 1.252 GB, free: 8.984 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.4187, allocations: 0.9633 MB / 1.253 GB, free: 7.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.4203, allocations: 1.137 MB / 1.254 GB, free: 6.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.4219, allocations: 1.031 MB / 1.255 GB, free: 5.805 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.4224, allocations: 196 kB / 1.255 GB, free: 5.613 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003646/0.426, allocations: 2.239 MB / 1.257 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001717/0.4277, allocations: 2.047 MB / 1.259 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.5234/0.9512, allocations: 2.116 MB / 1.261 GB, free: 8.469 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009725/0.961, allocations: 7.809 MB / 1.269 GB, free: 8.062 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.961, allocations: 0 / 1.269 GB, free: 8.062 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.961, allocations: 1.875 kB / 1.269 GB, free: 8.062 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001121/0.9611, allocations: 0 / 1.269 GB, free: 8.062 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.0168/0.9779, allocations: 6.354 MB / 1.275 GB, free: 5.652 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.978, allocations: 8.844 kB / 1.275 GB, free: 5.652 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002692/0.9783, allocations: 196.8 kB / 1.275 GB, free: 5.609 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.9806, allocations: 491.3 kB / 1.276 GB, free: 5.367 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3513/1.332, allocations: 325.3 MB / 1.594 GB, free: 3.789 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/1.332, allocations: 132.3 kB / 1.594 GB, free: 3.66 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005943/1.333, allocations: 180 kB / 1.594 GB, free: 3.484 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/1.336, allocations: 1.66 MB / 1.596 GB, free: 1.77 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/1.336, allocations: 7.281 kB / 1.596 GB, free: 1.766 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/1.336, allocations: 53.06 kB / 1.596 GB, free: 1.715 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/1.336, allocations: 28 kB / 1.596 GB, free: 1.688 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/1.339, allocations: 1.721 MB / 1.597 GB, free: 15.96 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06574/1.405, allocations: 76.58 MB / 1.672 GB, free: 3.402 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/1.407, allocations: 1.583 MB / 1.674 GB, free: 1.836 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/1.409, allocations: 1.031 MB / 1.675 GB, free: 0.8008 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 8.93e-05/1.409, allocations: 38.45 kB / 1.675 GB, free: 0.7695 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001483/1.41, allocations: 0.9828 MB / 1.676 GB, free: 15.78 MB / 1.357 GB Notification: Performance of pre-optimization done (n=118): time 3.437e-06/1.41, allocations: 3.172 kB / 1.676 GB, free: 15.78 MB / 1.357 GB Notification: Performance of matching and sorting (n=118): time 0.006683/1.417, allocations: 3.031 MB / 1.679 GB, free: 12.74 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/1.417, allocations: 343.6 kB / 1.679 GB, free: 12.36 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8796/2.297, allocations: 379.7 MB / 2.05 GB, free: 400.6 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0005223/2.297, allocations: 72.86 kB / 2.05 GB, free: 400.6 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.001962/2.299, allocations: 1.618 MB / 2.051 GB, free: 399.1 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/2.3, allocations: 406.5 kB / 2.052 GB, free: 398.9 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006805/2.3, allocations: 0.5158 MB / 2.052 GB, free: 398.4 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 3.329e-05/2.3, allocations: 301.1 kB / 2.053 GB, free: 398.1 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/2.302, allocations: 1.435 MB / 2.054 GB, free: 396.6 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/2.304, allocations: 2.168 MB / 2.056 GB, free: 394.2 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/2.307, allocations: 3.547 MB / 2.059 GB, free: 390.4 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/2.307, allocations: 8 kB / 2.06 GB, free: 390.4 MB / 1.467 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006605/2.314, allocations: 4.277 MB / 2.064 GB, free: 386.1 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/2.314, allocations: 187.1 kB / 2.064 GB, free: 385.9 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/2.314, allocations: 20 kB / 2.064 GB, free: 385.9 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/2.314, allocations: 34.44 kB / 2.064 GB, free: 385.8 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/2.316, allocations: 475.8 kB / 2.064 GB, free: 385.4 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.017e-05/2.316, allocations: 51.8 kB / 2.064 GB, free: 385.3 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/2.319, allocations: 0.5565 MB / 2.065 GB, free: 384.8 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/2.319, allocations: 108 kB / 2.065 GB, free: 384.7 MB / 1.467 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.002336/2.321, allocations: 1.664 MB / 2.067 GB, free: 383 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001582/2.323, allocations: 369.5 kB / 2.067 GB, free: 382.7 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/2.327, allocations: 3.043 MB / 2.07 GB, free: 379.6 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/2.327, allocations: 12 kB / 2.07 GB, free: 379.6 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/2.327, allocations: 0 / 2.07 GB, free: 379.6 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/2.327, allocations: 7.734 kB / 2.07 GB, free: 379.6 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/2.33, allocations: 2.825 MB / 2.073 GB, free: 376.8 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/2.33, allocations: 0 / 2.073 GB, free: 376.8 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/2.331, allocations: 163.8 kB / 2.073 GB, free: 376.6 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/2.331, allocations: 4 kB / 2.073 GB, free: 376.6 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-05/2.331, allocations: 39.91 kB / 2.073 GB, free: 376.5 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/2.331, allocations: 0 / 2.073 GB, free: 376.5 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/2.331, allocations: 7.938 kB / 2.073 GB, free: 376.5 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004039/2.335, allocations: 2.827 MB / 2.076 GB, free: 373.7 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002403/2.337, allocations: 1.255 MB / 2.077 GB, free: 372.4 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008168/2.338, allocations: 39.88 kB / 2.077 GB, free: 372.4 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/2.34, allocations: 299.9 kB / 2.077 GB, free: 372.1 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/2.34, allocations: 82.77 kB / 2.077 GB, free: 372 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/2.34, allocations: 51.97 kB / 2.077 GB, free: 371.9 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.2038/2.544, allocations: 305.3 MB / 2.376 GB, free: 66.54 MB / 1.467 GB Notification: Performance of sort global known variables: time 5.11e-07/2.544, allocations: 0 / 2.376 GB, free: 66.54 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.005662/2.55, allocations: 1.231 MB / 2.377 GB, free: 65.31 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 (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.007489/2.557, allocations: 4.249 MB / 2.381 GB, free: 61.3 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.004326/2.562, allocations: 4.628 MB / 2.385 GB, free: 56.66 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/2.562, allocations: 0 / 2.385 GB, free: 56.66 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/2.563, allocations: 2.239 MB / 2.388 GB, free: 54.41 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/2.567, allocations: 485.8 kB / 2.388 GB, free: 53.95 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.516/5.083, allocations: 1.504 GB / 3.892 GB, free: 467.6 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/5.085, allocations: 2.357 MB / 3.895 GB, free: 465.3 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.003235/5.088, allocations: 1.254 MB / 3.896 GB, free: 464.1 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/5.091, allocations: 1.753 MB / 3.898 GB, free: 462.4 MB / 1.467 GB Notification: Performance of SimCode: time 9.02e-07/5.091, allocations: 0 / 3.898 GB, free: 462.4 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7926/5.883, allocations: 252.5 MB / 4.144 GB, free: 211.2 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/21.19, allocations: 4.438 kB / 4.144 GB, free: 211.2 MB / 1.467 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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches