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.004477/0.004477, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001095/0.001095, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.169/2.169, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7017/0.703, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.007742/0.7108, allocations: 7.315 MB / 1.095 GB, free: 48 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1786/0.8894, allocations: 159.3 MB / 1.25 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.8913, allocations: 35.81 kB / 1.25 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004841/0.8961, allocations: 1.969 MB / 1.252 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.8992, allocations: 1.177 MB / 1.253 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.9026, allocations: 1.434 MB / 1.255 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004776/0.9074, allocations: 5.241 MB / 1.26 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.9089, allocations: 1.277 MB / 1.261 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.9111, allocations: 1.699 MB / 1.263 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.9134, allocations: 1.536 MB / 1.264 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00049/0.9139, allocations: 288 kB / 1.265 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.918, allocations: 2.571 MB / 1.267 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003302/0.9213, allocations: 4.78 MB / 1.272 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005256/0.9266, allocations: 4.829 MB / 1.276 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.944, allocations: 17.83 MB / 1.294 GB, free: 10.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.944, allocations: 0 / 1.294 GB, free: 10.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.944, allocations: 0 / 1.294 GB, free: 10.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002186/0.9442, allocations: 0 / 1.294 GB, free: 10.35 MB / 1.029 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.03327/0.9775, allocations: 14.39 MB / 1.308 GB, free: 11.83 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.9776, allocations: 8.031 kB / 1.308 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004671/0.9781, allocations: 248.8 kB / 1.308 GB, free: 11.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/0.9837, allocations: 0.9675 MB / 1.309 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.68/2.663, allocations: 0.9948 GB / 2.304 GB, free: 292 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/2.663, allocations: 171.1 kB / 2.304 GB, free: 291.8 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000539/2.664, allocations: 242.1 kB / 2.304 GB, free: 291.6 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/2.668, allocations: 2.373 MB / 2.307 GB, free: 289.2 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.573e-05/2.668, allocations: 0 / 2.307 GB, free: 289.2 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/2.668, allocations: 72 kB / 2.307 GB, free: 289.1 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/2.668, allocations: 38.73 kB / 2.307 GB, free: 289 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/2.671, allocations: 2.467 MB / 2.309 GB, free: 286.6 MB / 1.342 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1191/2.79, allocations: 242.6 MB / 2.546 GB, free: 43.82 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/2.793, allocations: 1.99 MB / 2.548 GB, free: 41.82 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/2.794, allocations: 1.277 MB / 2.549 GB, free: 40.54 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 7.398e-05/2.794, allocations: 37.09 kB / 2.549 GB, free: 40.5 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/2.796, allocations: 1.361 MB / 2.551 GB, free: 39.13 MB / 1.342 GB Notification: Performance of pre-optimization done (n=138): time 2.555e-06/2.796, allocations: 0 / 2.551 GB, free: 39.13 MB / 1.342 GB Notification: Performance of matching and sorting (n=138): time 0.009284/2.805, allocations: 4.36 MB / 2.555 GB, free: 34.73 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/2.805, allocations: 362.5 kB / 2.555 GB, free: 34.33 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.704/5.509, allocations: 1.182 GB / 3.738 GB, free: 416.2 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.000448/5.51, allocations: 81.7 kB / 3.738 GB, free: 416.2 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.004165/5.514, allocations: 3.761 MB / 3.741 GB, free: 413 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/5.514, allocations: 476.4 kB / 3.742 GB, free: 412.9 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007746/5.515, allocations: 0.6756 MB / 3.742 GB, free: 412.2 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 3.437e-05/5.515, allocations: 303.1 kB / 3.743 GB, free: 411.9 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/5.517, allocations: 1.925 MB / 3.745 GB, free: 410.2 MB / 1.357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/5.52, allocations: 2.884 MB / 3.747 GB, free: 407.2 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004384/5.524, allocations: 4.611 MB / 3.752 GB, free: 402.5 MB / 1.357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/5.524, allocations: 12 kB / 3.752 GB, free: 402.5 MB / 1.357 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01063/5.535, allocations: 6.032 MB / 3.758 GB, free: 397.2 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/5.535, allocations: 202.4 kB / 3.758 GB, free: 397 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/5.535, allocations: 31.39 kB / 3.758 GB, free: 397 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/5.536, allocations: 123.6 kB / 3.758 GB, free: 396.9 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/5.538, allocations: 0.6067 MB / 3.759 GB, free: 396.4 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/5.54, allocations: 1.697 MB / 3.76 GB, free: 394.6 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006101/5.546, allocations: 1.191 MB / 3.762 GB, free: 393.5 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/5.546, allocations: 143.7 kB / 3.762 GB, free: 393.4 MB / 1.357 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.004365/5.551, allocations: 3.845 MB / 3.765 GB, free: 389.9 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00369/5.554, allocations: 0.7921 MB / 3.766 GB, free: 389.1 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006116/5.56, allocations: 4.35 MB / 3.77 GB, free: 385.2 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/5.56, allocations: 12 kB / 3.77 GB, free: 385.2 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/5.56, allocations: 8 kB / 3.77 GB, free: 385.2 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/5.56, allocations: 10.88 kB / 3.77 GB, free: 385.2 MB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008346/5.569, allocations: 6.779 MB / 3.777 GB, free: 379.6 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/5.569, allocations: 0 / 3.777 GB, free: 379.6 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/5.57, allocations: 211.6 kB / 3.777 GB, free: 379.4 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/5.57, allocations: 76.78 kB / 3.777 GB, free: 379.3 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/5.57, allocations: 39.97 kB / 3.777 GB, free: 379.3 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/5.572, allocations: 1.646 MB / 3.779 GB, free: 377.5 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/5.572, allocations: 0 / 3.779 GB, free: 377.5 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008152/5.58, allocations: 3.919 MB / 3.783 GB, free: 373.5 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006792/5.587, allocations: 3.168 MB / 3.786 GB, free: 370.3 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002178/5.589, allocations: 39.86 kB / 3.786 GB, free: 370.3 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/5.593, allocations: 0.7577 MB / 3.787 GB, free: 369.5 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/5.593, allocations: 101.2 kB / 3.787 GB, free: 369.4 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/5.593, allocations: 63.97 kB / 3.787 GB, free: 369.4 MB / 1.357 GB Notification: Performance of sorting global known variables: time 1.629/7.222, allocations: 0.9475 GB / 4.734 GB, free: 467.3 MB / 1.373 GB Notification: Performance of sort global known variables: time 5.81e-07/7.222, allocations: 1.062 kB / 4.734 GB, free: 467.3 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.00733/7.23, allocations: 1.867 MB / 4.736 GB, free: 467.3 MB / 1.373 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.01046/7.24, allocations: 5.424 MB / 4.741 GB, free: 465.6 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.00611/7.246, allocations: 5.725 MB / 4.747 GB, free: 463.2 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/7.246, allocations: 7.188 kB / 4.747 GB, free: 463.2 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/7.249, allocations: 2.711 MB / 4.75 GB, free: 461.9 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006617/7.255, allocations: 0.821 MB / 4.751 GB, free: 461.5 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.609/14.86, allocations: 4.771 GB / 9.522 GB, free: 434 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006937/14.87, allocations: 4.655 MB / 9.526 GB, free: 431.9 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.007278/14.88, allocations: 3.002 MB / 9.529 GB, free: 429.3 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007672/14.89, allocations: 4.031 MB / 9.533 GB, free: 425.7 MB / 1.389 GB Notification: Performance of SimCode: time 1.072e-06/14.89, allocations: 0 / 9.533 GB, free: 425.7 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.076/17.96, allocations: 0.7124 GB / 10.25 GB, free: 301.5 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.41/52.37, allocations: 0 / 10.25 GB, free: 301.5 MB / 1.404 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