Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_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.00159/0.00159, allocations: 108 kB / 15.6 MB, free: 132 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.001831/0.001831, allocations: 199 kB / 16.54 MB, free: 6.672 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 469.4 MB / 0.742 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 65.28 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2607, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009593/0.2704, allocations: 8.525 MB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.428, allocations: 159.4 MB / 1.228 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.4293, allocations: 39.81 kB / 1.228 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004464/0.4338, allocations: 1.988 MB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.4368, allocations: 1.251 MB / 1.231 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.4398, allocations: 1.441 MB / 1.232 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004899/0.4447, allocations: 5.419 MB / 1.238 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.4464, allocations: 1.235 MB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.4487, allocations: 1.714 MB / 1.24 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.4509, allocations: 1.561 MB / 1.242 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006709/0.4516, allocations: 292 kB / 1.242 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.4557, allocations: 2.54 MB / 1.245 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.5016/0.9573, allocations: 4.773 MB / 1.249 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009169/0.9665, allocations: 4.868 MB / 1.254 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0201/0.9866, allocations: 17.7 MB / 1.271 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9867, allocations: 5.969 kB / 1.271 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9867, allocations: 0 / 1.271 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003123/0.987, allocations: 4.062 kB / 1.271 GB, free: 10.51 MB / 0.9981 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.04147/1.028, allocations: 14.09 MB / 1.285 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/1.029, allocations: 9.031 kB / 1.285 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004744/1.029, allocations: 244.4 kB / 1.285 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006009/1.035, allocations: 0.9211 MB / 1.286 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.235/2.27, allocations: 0.997 GB / 2.283 GB, free: 96.44 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/2.27, allocations: 175.1 kB / 2.284 GB, free: 96.27 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/2.27, allocations: 239.9 kB / 2.284 GB, free: 96.03 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/2.273, allocations: 2.373 MB / 2.286 GB, free: 93.6 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/2.273, allocations: 0 / 2.286 GB, free: 93.6 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/2.274, allocations: 72 kB / 2.286 GB, free: 93.53 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/2.274, allocations: 36 kB / 2.286 GB, free: 93.49 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/2.277, allocations: 2.471 MB / 2.289 GB, free: 91.02 MB / 1.42 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.5803/2.857, allocations: 243.1 MB / 2.526 GB, free: 480.8 MB / 1.42 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/2.86, allocations: 1.978 MB / 2.528 GB, free: 478.8 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/2.861, allocations: 1.281 MB / 2.529 GB, free: 477.5 MB / 1.42 GB Notification: Performance of preOpt evalFunc (simulation): time 8.354e-05/2.861, allocations: 38.19 kB / 2.529 GB, free: 477.5 MB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/2.862, allocations: 1.357 MB / 2.531 GB, free: 476.1 MB / 1.42 GB Notification: Performance of pre-optimization done (n=138): time 2.525e-06/2.862, allocations: 0 / 2.531 GB, free: 476.1 MB / 1.42 GB Notification: Performance of matching and sorting (n=138): time 0.01104/2.874, allocations: 4.318 MB / 2.535 GB, free: 472.2 MB / 1.42 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/2.874, allocations: 358.5 kB / 2.535 GB, free: 471.8 MB / 1.42 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.141/5.014, allocations: 1.182 GB / 3.718 GB, free: 495.4 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0006986/5.015, allocations: 85.7 kB / 3.718 GB, free: 495.3 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.004729/5.02, allocations: 3.745 MB / 3.721 GB, free: 491.8 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/5.02, allocations: 449.9 kB / 3.722 GB, free: 491.6 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007933/5.021, allocations: 0.6761 MB / 3.722 GB, free: 490.9 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 3.612e-05/5.021, allocations: 301.1 kB / 3.723 GB, free: 490.6 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/5.023, allocations: 1.935 MB / 3.725 GB, free: 488.7 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/5.026, allocations: 2.881 MB / 3.727 GB, free: 485.4 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00421/5.03, allocations: 4.619 MB / 3.732 GB, free: 480.5 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/5.03, allocations: 9.5 kB / 3.732 GB, free: 480.5 MB / 1.42 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01198/5.042, allocations: 5.982 MB / 3.738 GB, free: 474.6 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/5.042, allocations: 207.9 kB / 3.738 GB, free: 474.4 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/5.042, allocations: 32 kB / 3.738 GB, free: 474.4 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/5.043, allocations: 116.9 kB / 3.738 GB, free: 474.3 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/5.045, allocations: 0.6163 MB / 3.739 GB, free: 473.7 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/5.047, allocations: 1.684 MB / 3.74 GB, free: 471.8 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008178/5.055, allocations: 1.17 MB / 3.741 GB, free: 470.7 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/5.055, allocations: 151.9 kB / 3.742 GB, free: 470.5 MB / 1.42 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.004833/5.06, allocations: 3.839 MB / 3.745 GB, free: 466.7 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005341/5.065, allocations: 0.7565 MB / 3.746 GB, free: 465.9 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006325/5.072, allocations: 4.351 MB / 3.75 GB, free: 461.5 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/5.072, allocations: 12 kB / 3.75 GB, free: 461.5 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/5.072, allocations: 0 / 3.75 GB, free: 461.5 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/5.072, allocations: 7.984 kB / 3.75 GB, free: 461.5 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008671/5.08, allocations: 6.791 MB / 3.757 GB, free: 454.7 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/5.08, allocations: 0 / 3.757 GB, free: 454.7 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000843/5.081, allocations: 211.6 kB / 3.757 GB, free: 454.5 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/5.082, allocations: 72.78 kB / 3.757 GB, free: 454.4 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.833e-05/5.082, allocations: 39.97 kB / 3.757 GB, free: 454.4 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/5.083, allocations: 1.661 MB / 3.759 GB, free: 452.6 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/5.083, allocations: 1.125 kB / 3.759 GB, free: 452.6 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008052/5.091, allocations: 3.86 MB / 3.763 GB, free: 448.7 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004583/5.096, allocations: 3.144 MB / 3.766 GB, free: 445.5 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001477/5.097, allocations: 31.94 kB / 3.766 GB, free: 445.5 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003454/5.101, allocations: 0.7592 MB / 3.766 GB, free: 444.7 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/5.101, allocations: 101.2 kB / 3.767 GB, free: 444.6 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/5.101, allocations: 63.97 kB / 3.767 GB, free: 444.5 MB / 1.42 GB Notification: Performance of sorting global known variables: time 1.088/6.189, allocations: 0.9475 GB / 4.714 GB, free: 95.52 MB / 1.42 GB Notification: Performance of sort global known variables: time 7.01e-07/6.189, allocations: 0 / 4.714 GB, free: 95.52 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.009313/6.199, allocations: 1.875 MB / 4.716 GB, free: 93.8 MB / 1.42 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.01052/6.209, allocations: 5.36 MB / 4.721 GB, free: 89.26 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.007062/6.216, allocations: 6.571 MB / 4.728 GB, free: 82.7 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/6.216, allocations: 0 / 4.728 GB, free: 82.7 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/6.218, allocations: 2.721 MB / 4.73 GB, free: 79.96 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006695/6.225, allocations: 0.8423 MB / 4.731 GB, free: 79.15 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.208/13.43, allocations: 4.835 GB / 9.566 GB, free: 397.1 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003882/13.44, allocations: 4.645 MB / 9.57 GB, free: 392.5 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.007283/13.44, allocations: 3.012 MB / 9.573 GB, free: 389.7 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0053/13.45, allocations: 4.032 MB / 9.577 GB, free: 385.7 MB / 1.42 GB Notification: Performance of SimCode: time 9.52e-07/13.45, allocations: 2.297 kB / 9.577 GB, free: 385.7 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.995/16.44, allocations: 0.7098 GB / 10.29 GB, free: 251 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/31.58, allocations: 14.02 kB / 10.29 GB, free: 251 MB / 1.42 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches