Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_10_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.007275/0.007275, allocations: 99.45 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.001791/0.001791, allocations: 194.4 kB / 16.68 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.377/2.377, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 64.09 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7134, allocations: 151.6 MB / 1.166 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009716/0.7232, allocations: 8.563 MB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1613/0.8846, allocations: 159.4 MB / 1.33 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.886, allocations: 47.75 kB / 1.33 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004676/0.8907, allocations: 2 MB / 1.332 GB, free: 9.188 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.894, allocations: 1.274 MB / 1.333 GB, free: 7.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.8974, allocations: 1.444 MB / 1.335 GB, free: 6.473 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005145/0.9025, allocations: 5.451 MB / 1.34 GB, free: 1.004 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.9044, allocations: 1.227 MB / 1.341 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002764/0.9072, allocations: 1.73 MB / 1.343 GB, free: 14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.9096, allocations: 1.561 MB / 1.345 GB, free: 12.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008502/0.9105, allocations: 292 kB / 1.345 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/0.9151, allocations: 2.575 MB / 1.347 GB, free: 9.566 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003783/0.9189, allocations: 4.772 MB / 1.352 GB, free: 4.785 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006669/0.9256, allocations: 4.872 MB / 1.357 GB, free: 15.89 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.9429, allocations: 17.9 MB / 1.374 GB, free: 13.94 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.943, allocations: 4 kB / 1.374 GB, free: 13.94 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.363e-06/0.943, allocations: 0 / 1.374 GB, free: 13.94 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002988/0.9433, allocations: 3.938 kB / 1.374 GB, free: 13.93 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.03121/0.9745, allocations: 14.42 MB / 1.388 GB, free: 15.39 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.9746, allocations: 12.91 kB / 1.388 GB, free: 15.38 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000327/0.9749, allocations: 244.9 kB / 1.389 GB, free: 15.12 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/0.9788, allocations: 0.9558 MB / 1.39 GB, free: 14.16 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.79/2.769, allocations: 0.9948 GB / 2.384 GB, free: 266 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.751e-05/2.769, allocations: 171.1 kB / 2.385 GB, free: 265.8 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/2.769, allocations: 236 kB / 2.385 GB, free: 265.6 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/2.772, allocations: 2.373 MB / 2.387 GB, free: 263.2 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/2.772, allocations: 7.938 kB / 2.387 GB, free: 263.2 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/2.772, allocations: 71.94 kB / 2.387 GB, free: 263.1 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/2.772, allocations: 40 kB / 2.387 GB, free: 263.1 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/2.775, allocations: 2.455 MB / 2.39 GB, free: 260.6 MB / 1.451 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.1162/2.891, allocations: 243.1 MB / 2.627 GB, free: 17.23 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/2.894, allocations: 1.988 MB / 2.629 GB, free: 15.24 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/2.895, allocations: 1.281 MB / 2.63 GB, free: 13.96 MB / 1.451 GB Notification: Performance of preOpt evalFunc (simulation): time 8.102e-05/2.895, allocations: 41.09 kB / 2.63 GB, free: 13.92 MB / 1.451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00154/2.897, allocations: 1.354 MB / 2.632 GB, free: 12.55 MB / 1.451 GB Notification: Performance of pre-optimization done (n=138): time 3.386e-06/2.897, allocations: 4 kB / 2.632 GB, free: 12.54 MB / 1.451 GB Notification: Performance of matching and sorting (n=138): time 0.009164/2.906, allocations: 4.36 MB / 2.636 GB, free: 8.145 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/2.906, allocations: 358.5 kB / 2.636 GB, free: 7.746 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.798/5.704, allocations: 1.182 GB / 3.819 GB, free: 0.5071 GB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.0005488/5.705, allocations: 85.7 kB / 3.819 GB, free: 0.507 GB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.004402/5.709, allocations: 3.758 MB / 3.822 GB, free: 0.5036 GB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/5.71, allocations: 473.5 kB / 3.823 GB, free: 0.5034 GB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000746/5.71, allocations: 0.677 MB / 3.823 GB, free: 0.5028 GB / 1.467 GB Notification: Performance of setup shared object (initialization): time 3.419e-05/5.71, allocations: 311.3 kB / 3.824 GB, free: 0.5025 GB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/5.712, allocations: 1.927 MB / 3.826 GB, free: 0.5006 GB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/5.715, allocations: 2.878 MB / 3.828 GB, free: 0.4974 GB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004166/5.719, allocations: 4.615 MB / 3.833 GB, free: 0.4926 GB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/5.719, allocations: 8 kB / 3.833 GB, free: 0.4925 GB / 1.467 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009804/5.729, allocations: 6.026 MB / 3.839 GB, free: 498.6 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/5.729, allocations: 205.6 kB / 3.839 GB, free: 498.4 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/5.729, allocations: 28 kB / 3.839 GB, free: 498.4 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/5.73, allocations: 120.9 kB / 3.839 GB, free: 498.3 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/5.732, allocations: 0.6161 MB / 3.84 GB, free: 497.6 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/5.733, allocations: 1.686 MB / 3.841 GB, free: 495.8 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005619/5.739, allocations: 1.194 MB / 3.843 GB, free: 494.8 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/5.739, allocations: 144 kB / 3.843 GB, free: 494.6 MB / 1.467 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.003821/5.743, allocations: 3.849 MB / 3.846 GB, free: 490.8 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002806/5.746, allocations: 0.7914 MB / 3.847 GB, free: 490 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005367/5.751, allocations: 4.355 MB / 3.851 GB, free: 485.6 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/5.751, allocations: 12 kB / 3.851 GB, free: 485.6 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/5.751, allocations: 0 / 3.851 GB, free: 485.6 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/5.751, allocations: 7.969 kB / 3.851 GB, free: 485.6 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00593/5.757, allocations: 6.783 MB / 3.858 GB, free: 478.8 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/5.757, allocations: 0 / 3.858 GB, free: 478.8 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008673/5.758, allocations: 219.6 kB / 3.858 GB, free: 478.6 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/5.758, allocations: 68.55 kB / 3.858 GB, free: 478.5 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.95e-05/5.759, allocations: 43.97 kB / 3.858 GB, free: 478.5 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/5.76, allocations: 1.659 MB / 3.86 GB, free: 476.7 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/5.76, allocations: 0 / 3.86 GB, free: 476.7 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006441/5.766, allocations: 3.911 MB / 3.864 GB, free: 472.7 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005172/5.772, allocations: 3.178 MB / 3.867 GB, free: 469.5 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001595/5.773, allocations: 35.88 kB / 3.867 GB, free: 469.5 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003694/5.777, allocations: 0.7577 MB / 3.868 GB, free: 468.7 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/5.777, allocations: 101.2 kB / 3.868 GB, free: 468.6 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/5.777, allocations: 67.95 kB / 3.868 GB, free: 468.6 MB / 1.467 GB Notification: Performance of sorting global known variables: time 1.138/6.915, allocations: 0.9475 GB / 4.815 GB, free: 64.38 MB / 1.467 GB Notification: Performance of sort global known variables: time 4.31e-07/6.915, allocations: 0 / 4.815 GB, free: 64.38 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.006857/6.922, allocations: 1.889 MB / 4.817 GB, free: 62.66 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 (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.01071/6.933, allocations: 5.41 MB / 4.822 GB, free: 58.11 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.005662/6.938, allocations: 5.723 MB / 4.828 GB, free: 52.39 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/6.938, allocations: 0 / 4.828 GB, free: 52.39 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.002235/6.941, allocations: 2.717 MB / 4.831 GB, free: 49.65 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005823/6.947, allocations: 0.8525 MB / 4.832 GB, free: 48.82 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.913/14.86, allocations: 4.771 GB / 9.603 GB, free: 351.7 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004228/14.86, allocations: 4.652 MB / 9.607 GB, free: 347 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.006607/14.87, allocations: 3.016 MB / 9.61 GB, free: 344.1 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006849/14.88, allocations: 4.029 MB / 9.614 GB, free: 340.1 MB / 1.498 GB Notification: Performance of SimCode: time 1.172e-06/14.88, allocations: 0 / 9.614 GB, free: 340.1 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.055/17.93, allocations: 0.713 GB / 10.33 GB, free: 250.1 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.32/52.25, allocations: 13.45 kB / 10.33 GB, free: 250.1 MB / 1.514 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches