Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_11_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.007851/0.007851, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.002237/0.002237, allocations: 186.6 kB / 16.67 MB, free: 5.926 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.835/2.835, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2718, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01065/0.2824, allocations: 8.535 MB / 1.229 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6845/0.967, allocations: 159.4 MB / 1.384 GB, free: 2.473 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.9683, allocations: 38.16 kB / 1.384 GB, free: 2.461 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004856/0.9731, allocations: 1.993 MB / 1.386 GB, free: 1.125 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.9761, allocations: 1.262 MB / 1.387 GB, free: 164 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.9793, allocations: 1.438 MB / 1.389 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005408/0.9848, allocations: 5.435 MB / 1.394 GB, free: 11.73 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.9864, allocations: 1.23 MB / 1.395 GB, free: 11.01 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.9889, allocations: 1.726 MB / 1.397 GB, free: 10 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.9909, allocations: 1.56 MB / 1.399 GB, free: 8.98 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004003/0.9913, allocations: 290.8 kB / 1.399 GB, free: 8.98 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/0.9956, allocations: 2.575 MB / 1.401 GB, free: 7.711 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003518/0.9991, allocations: 4.776 MB / 1.406 GB, free: 5.535 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004957/1.004, allocations: 4.867 MB / 1.411 GB, free: 1.848 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01797/1.022, allocations: 17.89 MB / 1.428 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.022, allocations: 4 kB / 1.428 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.463e-06/1.022, allocations: 0 / 1.428 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001795/1.022, allocations: 0 / 1.428 GB, free: 0.5312 MB / 1.107 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.02775/1.05, allocations: 14.43 MB / 1.442 GB, free: 1.977 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.05, allocations: 8.031 kB / 1.442 GB, free: 1.969 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003207/1.05, allocations: 240.9 kB / 1.443 GB, free: 1.723 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003467/1.054, allocations: 0.9636 MB / 1.444 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.846/2.9, allocations: 0.9948 GB / 2.438 GB, free: 0.5075 GB / 1.529 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/2.9, allocations: 172.7 kB / 2.438 GB, free: 0.5074 GB / 1.529 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/2.9, allocations: 235 kB / 2.439 GB, free: 0.5073 GB / 1.529 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/2.904, allocations: 2.384 MB / 2.441 GB, free: 0.5065 GB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/2.904, allocations: 0 / 2.441 GB, free: 0.5065 GB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/2.904, allocations: 66.8 kB / 2.441 GB, free: 0.5064 GB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/2.904, allocations: 37.31 kB / 2.441 GB, free: 0.5064 GB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/2.908, allocations: 2.461 MB / 2.444 GB, free: 0.5058 GB / 1.529 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.119/3.027, allocations: 243.1 MB / 2.681 GB, free: 306.3 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/3.03, allocations: 1.987 MB / 2.683 GB, free: 304.3 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/3.031, allocations: 1.277 MB / 2.684 GB, free: 303 MB / 1.529 GB Notification: Performance of preOpt evalFunc (simulation): time 8.735e-05/3.031, allocations: 36.94 kB / 2.684 GB, free: 303 MB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/3.032, allocations: 1.368 MB / 2.685 GB, free: 301.6 MB / 1.529 GB Notification: Performance of pre-optimization done (n=138): time 3.376e-06/3.032, allocations: 1.359 kB / 2.685 GB, free: 301.6 MB / 1.529 GB Notification: Performance of matching and sorting (n=138): time 0.009098/3.041, allocations: 4.363 MB / 2.69 GB, free: 297.2 MB / 1.529 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/3.042, allocations: 358.5 kB / 2.69 GB, free: 296.8 MB / 1.529 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.314/5.356, allocations: 1.182 GB / 3.872 GB, free: 316.7 MB / 1.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000488/5.356, allocations: 85.7 kB / 3.873 GB, free: 316.6 MB / 1.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004027/5.36, allocations: 3.763 MB / 3.876 GB, free: 313.1 MB / 1.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/5.361, allocations: 471.6 kB / 3.877 GB, free: 312.9 MB / 1.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007582/5.362, allocations: 0.676 MB / 3.877 GB, free: 312.3 MB / 1.545 GB Notification: Performance of setup shared object (initialization): time 3.021e-05/5.362, allocations: 302.4 kB / 3.878 GB, free: 312 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/5.364, allocations: 1.928 MB / 3.879 GB, free: 310 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/5.366, allocations: 2.885 MB / 3.882 GB, free: 306.8 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004202/5.37, allocations: 4.608 MB / 3.887 GB, free: 301.9 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/5.37, allocations: 8 kB / 3.887 GB, free: 301.8 MB / 1.545 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01015/5.381, allocations: 6.035 MB / 3.893 GB, free: 295.8 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/5.381, allocations: 209.5 kB / 3.893 GB, free: 295.6 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/5.381, allocations: 28 kB / 3.893 GB, free: 295.6 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/5.381, allocations: 124.8 kB / 3.893 GB, free: 295.5 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/5.383, allocations: 0.6044 MB / 3.894 GB, free: 294.9 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/5.385, allocations: 1.694 MB / 3.895 GB, free: 293 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005918/5.391, allocations: 1.185 MB / 3.896 GB, free: 292 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/5.391, allocations: 144 kB / 3.897 GB, free: 291.9 MB / 1.545 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.004017/5.395, allocations: 3.85 MB / 3.9 GB, free: 288 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00355/5.399, allocations: 0.7953 MB / 3.901 GB, free: 287.2 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005716/5.405, allocations: 4.35 MB / 3.905 GB, free: 282.8 MB / 1.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/5.405, allocations: 16 kB / 3.905 GB, free: 282.8 MB / 1.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/5.405, allocations: 4 kB / 3.905 GB, free: 282.8 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/5.405, allocations: 7.969 kB / 3.905 GB, free: 282.8 MB / 1.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007108/5.412, allocations: 6.784 MB / 3.912 GB, free: 276 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/5.412, allocations: 0 / 3.912 GB, free: 276 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008787/5.413, allocations: 207.7 kB / 3.912 GB, free: 275.8 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/5.413, allocations: 77.3 kB / 3.912 GB, free: 275.7 MB / 1.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/5.413, allocations: 39.97 kB / 3.912 GB, free: 275.7 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/5.415, allocations: 1.662 MB / 3.914 GB, free: 273.9 MB / 1.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/5.415, allocations: 0 / 3.914 GB, free: 273.9 MB / 1.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007749/5.422, allocations: 3.908 MB / 3.918 GB, free: 270 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005076/5.428, allocations: 3.178 MB / 3.921 GB, free: 266.8 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002335/5.43, allocations: 31.94 kB / 3.921 GB, free: 266.7 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003661/5.434, allocations: 0.7577 MB / 3.922 GB, free: 266 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/5.434, allocations: 100.4 kB / 3.922 GB, free: 265.9 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/5.434, allocations: 71.95 kB / 3.922 GB, free: 265.8 MB / 1.545 GB Notification: Performance of sorting global known variables: time 1.662/7.096, allocations: 0.9475 GB / 4.869 GB, free: 499.6 MB / 1.545 GB Notification: Performance of sort global known variables: time 6.01e-07/7.096, allocations: 0 / 4.869 GB, free: 499.6 MB / 1.545 GB Notification: Performance of remove unused functions: time 0.006437/7.102, allocations: 1.89 MB / 4.871 GB, free: 497.9 MB / 1.545 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.01007/7.112, allocations: 5.41 MB / 4.876 GB, free: 493.7 MB / 1.545 GB Notification: Performance of simCode: created initialization part: time 0.005506/7.118, allocations: 5.725 MB / 4.882 GB, free: 488.5 MB / 1.545 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/7.118, allocations: 4 kB / 4.882 GB, free: 488.5 MB / 1.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/7.12, allocations: 2.717 MB / 4.885 GB, free: 485.9 MB / 1.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005149/7.125, allocations: 0.852 MB / 4.885 GB, free: 485.2 MB / 1.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.494/14.62, allocations: 4.771 GB / 9.657 GB, free: 435.7 MB / 1.561 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004078/14.62, allocations: 4.648 MB / 9.661 GB, free: 432.2 MB / 1.561 GB Notification: Performance of simCode: alias equations: time 0.005655/14.63, allocations: 3.016 MB / 9.664 GB, free: 429.5 MB / 1.561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005098/14.63, allocations: 4.025 MB / 9.668 GB, free: 425.7 MB / 1.561 GB Notification: Performance of SimCode: time 1.373e-06/14.63, allocations: 0 / 9.668 GB, free: 425.7 MB / 1.561 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.076/17.71, allocations: 0.713 GB / 10.38 GB, free: 362.6 MB / 1.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.26/51.97, allocations: 12.58 kB / 10.38 GB, free: 362.6 MB / 1.576 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches