Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_10_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.001662/0.001662, 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.002077/0.002077, allocations: 193 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.91 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5502, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008758/0.559, allocations: 7.299 MB / 1.025 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1569/0.7159, allocations: 155.5 MB / 1.176 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.717, allocations: 27.88 kB / 1.176 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004095/0.7211, allocations: 1.805 MB / 1.178 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.7233, allocations: 0.8504 MB / 1.179 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.7255, allocations: 1.023 MB / 1.18 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003304/0.7288, allocations: 3.563 MB / 1.183 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.73, allocations: 0.9133 MB / 1.184 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.7315, allocations: 1.149 MB / 1.185 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.7327, allocations: 1.062 MB / 1.187 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002782/0.733, allocations: 196 kB / 1.187 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.7362, allocations: 2.204 MB / 1.189 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.7377, allocations: 2.054 MB / 1.191 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001941/0.7396, allocations: 2.157 MB / 1.193 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007484/0.7471, allocations: 7.768 MB / 1.201 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7471, allocations: 0 / 1.201 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7472, allocations: 0 / 1.201 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.984e-05/0.7472, allocations: 4 kB / 1.201 GB, free: 6.207 MB / 0.9512 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.01211/0.7594, allocations: 6.235 MB / 1.207 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.7594, allocations: 11.98 kB / 1.207 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002269/0.7596, allocations: 194.5 kB / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.7613, allocations: 467.5 kB / 1.207 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6637/1.425, allocations: 321.1 MB / 1.521 GB, free: 6.668 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/1.425, allocations: 134.4 kB / 1.521 GB, free: 6.535 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/1.425, allocations: 176 kB / 1.521 GB, free: 6.363 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/1.428, allocations: 1.672 MB / 1.523 GB, free: 4.629 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/1.428, allocations: 0 / 1.523 GB, free: 4.629 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.428, allocations: 48 kB / 1.523 GB, free: 4.582 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/1.428, allocations: 29.78 kB / 1.523 GB, free: 4.555 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/1.431, allocations: 1.73 MB / 1.525 GB, free: 2.816 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05947/1.49, allocations: 77 MB / 1.6 GB, free: 5.625 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/1.493, allocations: 1.581 MB / 1.601 GB, free: 4.035 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/1.494, allocations: 1.039 MB / 1.602 GB, free: 2.992 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.557e-05/1.494, allocations: 33.17 kB / 1.602 GB, free: 2.961 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/1.496, allocations: 0.9811 MB / 1.603 GB, free: 1.969 MB / 1.107 GB Notification: Performance of pre-optimization done (n=118): time 2.835e-06/1.496, allocations: 0 / 1.603 GB, free: 1.969 MB / 1.107 GB Notification: Performance of matching and sorting (n=118): time 0.005353/1.501, allocations: 3.019 MB / 1.606 GB, free: 14.93 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002067/1.501, allocations: 342.5 kB / 1.607 GB, free: 14.55 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7946/2.296, allocations: 379.7 MB / 1.977 GB, free: 200.6 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003181/2.296, allocations: 73.7 kB / 1.977 GB, free: 200.6 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/2.298, allocations: 1.613 MB / 1.979 GB, free: 199.1 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/2.298, allocations: 378.9 kB / 1.979 GB, free: 198.8 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005372/2.299, allocations: 0.5148 MB / 1.98 GB, free: 198.3 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 3.429e-05/2.299, allocations: 313.3 kB / 1.98 GB, free: 198 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/2.3, allocations: 1.437 MB / 1.982 GB, free: 196.5 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/2.302, allocations: 2.169 MB / 1.984 GB, free: 194.1 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/2.305, allocations: 3.539 MB / 1.987 GB, free: 190.3 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/2.305, allocations: 4 kB / 1.987 GB, free: 190.3 MB / 1.217 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005571/2.311, allocations: 4.256 MB / 1.991 GB, free: 186 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/2.311, allocations: 191 kB / 1.991 GB, free: 185.8 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/2.311, allocations: 24.03 kB / 1.991 GB, free: 185.8 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.325e-05/2.311, allocations: 32 kB / 1.992 GB, free: 185.8 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/2.313, allocations: 475.2 kB / 1.992 GB, free: 185.3 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/2.313, allocations: 51.55 kB / 1.992 GB, free: 185.3 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/2.315, allocations: 0.5501 MB / 1.993 GB, free: 184.7 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/2.315, allocations: 116 kB / 1.993 GB, free: 184.6 MB / 1.217 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.001661/2.317, allocations: 1.654 MB / 1.994 GB, free: 182.9 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000928/2.318, allocations: 351.3 kB / 1.995 GB, free: 182.6 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/2.321, allocations: 3.035 MB / 1.998 GB, free: 179.5 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/2.321, allocations: 15.94 kB / 1.998 GB, free: 179.5 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/2.321, allocations: 4 kB / 1.998 GB, free: 179.5 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/2.321, allocations: 3.984 kB / 1.998 GB, free: 179.5 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/2.324, allocations: 2.82 MB / 2 GB, free: 176.7 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/2.324, allocations: 0 / 2 GB, free: 176.7 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/2.325, allocations: 163.8 kB / 2 GB, free: 176.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/2.325, allocations: 0 / 2 GB, free: 176.5 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/2.325, allocations: 32.88 kB / 2.001 GB, free: 176.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/2.325, allocations: 7.938 kB / 2.001 GB, free: 176.5 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/2.325, allocations: 0 / 2.001 GB, free: 176.5 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/2.328, allocations: 2.828 MB / 2.003 GB, free: 173.6 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/2.33, allocations: 1.233 MB / 2.005 GB, free: 172.3 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005415/2.33, allocations: 35.89 kB / 2.005 GB, free: 172.3 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/2.332, allocations: 303.9 kB / 2.005 GB, free: 172 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/2.332, allocations: 80.88 kB / 2.005 GB, free: 171.9 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.804e-05/2.332, allocations: 47.98 kB / 2.005 GB, free: 171.9 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.6105/2.943, allocations: 305.3 MB / 2.303 GB, free: 333.1 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.102e-06/2.943, allocations: 0 / 2.303 GB, free: 333.1 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003177/2.946, allocations: 1.243 MB / 2.304 GB, free: 332 MB / 1.217 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.005554/2.952, allocations: 4.221 MB / 2.308 GB, free: 328.3 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004935/2.957, allocations: 5.272 MB / 2.314 GB, free: 323 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/2.957, allocations: 0 / 2.314 GB, free: 323 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/2.958, allocations: 2.243 MB / 2.316 GB, free: 320.8 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/2.961, allocations: 0.4938 MB / 2.316 GB, free: 320.3 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.221/5.181, allocations: 1.515 GB / 3.831 GB, free: 200.3 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/5.183, allocations: 2.361 MB / 3.833 GB, free: 197.9 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003032/5.186, allocations: 1.251 MB / 3.835 GB, free: 196.8 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002439/5.188, allocations: 1.761 MB / 3.836 GB, free: 195 MB / 1.232 GB Notification: Performance of SimCode: time 1.392e-06/5.188, allocations: 3.75 kB / 3.836 GB, free: 195 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.17/6.358, allocations: 255.4 MB / 4.086 GB, free: 413.6 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.089/15.45, allocations: 13.52 kB / 4.086 GB, free: 413.6 MB / 1.232 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches