Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_11_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.00745/0.00745, allocations: 99.06 kB / 15.73 MB, free: 6.059 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.001944/0.001944, allocations: 189.1 kB / 16.67 MB, free: 5.969 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.88 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3008, allocations: 159.1 MB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009358/0.3102, allocations: 7.262 MB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7237/1.034, allocations: 155.5 MB / 1.379 GB, free: 6.137 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/1.035, allocations: 25.75 kB / 1.379 GB, free: 6.129 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004948/1.04, allocations: 1.822 MB / 1.381 GB, free: 5.379 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002657/1.043, allocations: 0.8469 MB / 1.382 GB, free: 4.754 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/1.045, allocations: 1.026 MB / 1.383 GB, free: 3.969 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003875/1.049, allocations: 3.574 MB / 1.386 GB, free: 1.824 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/1.051, allocations: 0.9341 MB / 1.387 GB, free: 1.234 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001777/1.052, allocations: 1.156 MB / 1.388 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/1.054, allocations: 1.053 MB / 1.389 GB, free: 15.88 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003091/1.054, allocations: 198.4 kB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004241/1.058, allocations: 2.24 MB / 1.392 GB, free: 14.74 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00176/1.06, allocations: 2.056 MB / 1.394 GB, free: 13.73 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002472/1.063, allocations: 2.153 MB / 1.396 GB, free: 12.16 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008927/1.072, allocations: 7.876 MB / 1.404 GB, free: 7.406 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.072, allocations: 3.938 kB / 1.404 GB, free: 7.402 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.272e-06/1.072, allocations: 0 / 1.404 GB, free: 7.402 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.151e-05/1.072, allocations: 0 / 1.404 GB, free: 7.402 MB / 1.092 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.0119/1.084, allocations: 6.374 MB / 1.41 GB, free: 3.227 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.084, allocations: 11.16 kB / 1.41 GB, free: 3.223 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/1.084, allocations: 196.6 kB / 1.41 GB, free: 3.07 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/1.086, allocations: 492.2 kB / 1.41 GB, free: 2.695 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.331/1.417, allocations: 321.2 MB / 1.724 GB, free: 1.352 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/1.417, allocations: 139.5 kB / 1.724 GB, free: 1.215 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/1.417, allocations: 176 kB / 1.724 GB, free: 1.043 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/1.42, allocations: 1.66 MB / 1.726 GB, free: 15.32 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/1.42, allocations: 4 kB / 1.726 GB, free: 15.31 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/1.42, allocations: 55.98 kB / 1.726 GB, free: 15.26 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/1.42, allocations: 28 kB / 1.726 GB, free: 15.23 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/1.423, allocations: 1.722 MB / 1.728 GB, free: 13.5 MB / 1.42 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07042/1.493, allocations: 76.98 MB / 1.803 GB, free: 320 kB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/1.496, allocations: 1.589 MB / 1.804 GB, free: 14.73 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/1.497, allocations: 1.032 MB / 1.805 GB, free: 13.7 MB / 1.498 GB Notification: Performance of preOpt evalFunc (simulation): time 8.939e-05/1.497, allocations: 37.33 kB / 1.806 GB, free: 13.66 MB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001502/1.499, allocations: 0.9772 MB / 1.806 GB, free: 12.67 MB / 1.498 GB Notification: Performance of pre-optimization done (n=118): time 2.956e-06/1.499, allocations: 0 / 1.806 GB, free: 12.67 MB / 1.498 GB Notification: Performance of matching and sorting (n=118): time 0.006035/1.505, allocations: 3.031 MB / 1.809 GB, free: 9.629 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002527/1.505, allocations: 346.5 kB / 1.81 GB, free: 9.238 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8689/2.374, allocations: 379.7 MB / 2.181 GB, free: 214.6 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.0003563/2.375, allocations: 69.7 kB / 2.181 GB, free: 214.5 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.001544/2.376, allocations: 1.618 MB / 2.182 GB, free: 213.1 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/2.376, allocations: 409.5 kB / 2.183 GB, free: 212.9 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005639/2.377, allocations: 0.5096 MB / 2.183 GB, free: 212.3 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 3.315e-05/2.377, allocations: 301.1 kB / 2.183 GB, free: 212.1 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/2.379, allocations: 1.442 MB / 2.185 GB, free: 210.6 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/2.38, allocations: 2.172 MB / 2.187 GB, free: 208.2 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/2.384, allocations: 3.542 MB / 2.19 GB, free: 204.4 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/2.384, allocations: 7.75 kB / 2.19 GB, free: 204.4 MB / 1.498 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005669/2.389, allocations: 4.279 MB / 2.195 GB, free: 200.1 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/2.389, allocations: 185.6 kB / 2.195 GB, free: 199.9 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/2.389, allocations: 24.03 kB / 2.195 GB, free: 199.9 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/2.389, allocations: 32 kB / 2.195 GB, free: 199.8 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/2.391, allocations: 471.2 kB / 2.195 GB, free: 199.4 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.108e-05/2.391, allocations: 51.84 kB / 2.195 GB, free: 199.3 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/2.393, allocations: 0.5524 MB / 2.196 GB, free: 198.8 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/2.393, allocations: 114.5 kB / 2.196 GB, free: 198.7 MB / 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.001698/2.395, allocations: 1.662 MB / 2.198 GB, free: 197 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008622/2.396, allocations: 373.5 kB / 2.198 GB, free: 196.7 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/2.399, allocations: 3.034 MB / 2.201 GB, free: 193.6 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/2.399, allocations: 12 kB / 2.201 GB, free: 193.6 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/2.399, allocations: 0 / 2.201 GB, free: 193.6 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/2.399, allocations: 12.84 kB / 2.201 GB, free: 193.6 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/2.402, allocations: 2.812 MB / 2.204 GB, free: 190.8 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/2.402, allocations: 0 / 2.204 GB, free: 190.8 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/2.403, allocations: 159.7 kB / 2.204 GB, free: 190.6 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/2.403, allocations: 7.984 kB / 2.204 GB, free: 190.6 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.135e-05/2.403, allocations: 39.67 kB / 2.204 GB, free: 190.6 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/2.403, allocations: 4.562 kB / 2.204 GB, free: 190.6 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/2.403, allocations: 2.078 kB / 2.204 GB, free: 190.6 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003227/2.406, allocations: 2.845 MB / 2.207 GB, free: 187.7 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/2.407, allocations: 1.251 MB / 2.208 GB, free: 186.4 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005247/2.408, allocations: 35 kB / 2.208 GB, free: 186.4 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/2.409, allocations: 301.5 kB / 2.208 GB, free: 186.1 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/2.41, allocations: 80.89 kB / 2.208 GB, free: 186 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/2.41, allocations: 51.97 kB / 2.208 GB, free: 186 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.7034/3.113, allocations: 305.3 MB / 2.506 GB, free: 454.8 MB / 1.498 GB Notification: Performance of sort global known variables: time 6.62e-07/3.113, allocations: 0 / 2.506 GB, free: 454.8 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.003962/3.117, allocations: 1.256 MB / 2.508 GB, free: 453.7 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.006905/3.124, allocations: 4.253 MB / 2.512 GB, free: 450.3 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.004165/3.128, allocations: 4.627 MB / 2.516 GB, free: 446.1 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/3.128, allocations: 2.578 kB / 2.516 GB, free: 446.1 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/3.13, allocations: 2.245 MB / 2.519 GB, free: 444 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/3.132, allocations: 0.4892 MB / 2.519 GB, free: 443.6 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.095/5.227, allocations: 1.504 GB / 4.023 GB, free: 65.55 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/5.229, allocations: 2.363 MB / 4.025 GB, free: 63.18 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.002896/5.232, allocations: 1.249 MB / 4.027 GB, free: 62.02 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002493/5.234, allocations: 1.759 MB / 4.028 GB, free: 60.26 MB / 1.498 GB Notification: Performance of SimCode: time 6.02e-07/5.234, allocations: 0 / 4.028 GB, free: 60.26 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.273/6.507, allocations: 253.1 MB / 4.276 GB, free: 392.3 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.06/22.57, allocations: 10.61 kB / 4.276 GB, free: 392.3 MB / 1.498 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches