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.001276/0.001277, allocations: 108 kB / 15.61 MB, free: 152 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.001452/0.001452, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.339/1.339, 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 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5571/0.5586, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.007414/0.566, allocations: 7.303 MB / 0.9569 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1611/0.7272, allocations: 159.3 MB / 1.112 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.7289, allocations: 35.81 kB / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005031/0.7339, allocations: 1.968 MB / 1.114 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.7374, allocations: 1.141 MB / 1.115 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.7409, allocations: 1.433 MB / 1.117 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005306/0.7462, allocations: 5.213 MB / 1.122 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.7483, allocations: 1.285 MB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002596/0.7509, allocations: 1.679 MB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.7535, allocations: 1.533 MB / 1.126 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008476/0.7544, allocations: 288 kB / 1.127 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004695/0.7591, allocations: 2.532 MB / 1.129 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003931/0.7631, allocations: 4.788 MB / 1.134 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006617/0.7697, allocations: 4.818 MB / 1.138 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01723/0.7869, allocations: 17.63 MB / 1.156 GB, free: 14.12 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.787, allocations: 0 / 1.156 GB, free: 14.12 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.176e-06/0.787, allocations: 0 / 1.156 GB, free: 14.12 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000342/0.7873, allocations: 3.938 kB / 1.156 GB, free: 14.11 MB / 0.92 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.03479/0.8221, allocations: 14.07 MB / 1.169 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.8222, allocations: 8.031 kB / 1.169 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004365/0.8227, allocations: 240.8 kB / 1.17 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005677/0.8283, allocations: 0.9195 MB / 1.171 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.974/2.803, allocations: 0.9946 GB / 2.165 GB, free: 376.4 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/2.803, allocations: 175.1 kB / 2.165 GB, free: 376.2 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002776/2.803, allocations: 232 kB / 2.166 GB, free: 376 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/2.806, allocations: 2.377 MB / 2.168 GB, free: 373.6 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/2.806, allocations: 0 / 2.168 GB, free: 373.6 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/2.806, allocations: 75.98 kB / 2.168 GB, free: 373.5 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/2.806, allocations: 36 kB / 2.168 GB, free: 373.5 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/2.809, allocations: 2.463 MB / 2.17 GB, free: 371 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1147/2.924, allocations: 242.6 MB / 2.407 GB, free: 128.2 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/2.927, allocations: 1.981 MB / 2.409 GB, free: 126.2 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/2.928, allocations: 1.282 MB / 2.411 GB, free: 124.9 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.14e-05/2.928, allocations: 45.08 kB / 2.411 GB, free: 124.9 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/2.929, allocations: 1.346 MB / 2.412 GB, free: 123.5 MB / 1.154 GB Notification: Performance of pre-optimization done (n=138): time 2.875e-06/2.929, allocations: 0 / 2.412 GB, free: 123.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=138): time 0.009295/2.939, allocations: 4.32 MB / 2.416 GB, free: 119.2 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/2.939, allocations: 362.5 kB / 2.416 GB, free: 118.8 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.562/5.501, allocations: 1.182 GB / 3.599 GB, free: 301.1 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000469/5.501, allocations: 85.7 kB / 3.599 GB, free: 301 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.004132/5.505, allocations: 3.746 MB / 3.603 GB, free: 297.5 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/5.506, allocations: 457.8 kB / 3.603 GB, free: 297.3 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007173/5.506, allocations: 0.6692 MB / 3.604 GB, free: 296.6 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 3.312e-05/5.506, allocations: 312 kB / 3.604 GB, free: 296.3 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/5.509, allocations: 1.92 MB / 3.606 GB, free: 294.4 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/5.511, allocations: 2.88 MB / 3.609 GB, free: 291.1 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004219/5.515, allocations: 4.615 MB / 3.613 GB, free: 286.2 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/5.515, allocations: 8 kB / 3.613 GB, free: 286.2 MB / 1.17 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0105/5.526, allocations: 5.979 MB / 3.619 GB, free: 280.4 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/5.526, allocations: 209.6 kB / 3.619 GB, free: 280.2 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/5.526, allocations: 28.88 kB / 3.619 GB, free: 280.2 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/5.526, allocations: 120.9 kB / 3.619 GB, free: 280.1 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/5.528, allocations: 0.6161 MB / 3.62 GB, free: 279.4 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/5.53, allocations: 1.685 MB / 3.622 GB, free: 277.6 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005942/5.536, allocations: 1.178 MB / 3.623 GB, free: 276.4 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/5.537, allocations: 147.5 kB / 3.623 GB, free: 276.3 MB / 1.17 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.004176/5.541, allocations: 3.839 MB / 3.627 GB, free: 272.4 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003659/5.544, allocations: 0.7579 MB / 3.627 GB, free: 271.7 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005759/5.55, allocations: 4.357 MB / 3.632 GB, free: 267.3 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/5.55, allocations: 12 kB / 3.632 GB, free: 267.3 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/5.55, allocations: 0 / 3.632 GB, free: 267.3 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/5.55, allocations: 3.984 kB / 3.632 GB, free: 267.3 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00716/5.557, allocations: 6.784 MB / 3.638 GB, free: 260.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/5.557, allocations: 0 / 3.638 GB, free: 260.5 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008796/5.558, allocations: 211.7 kB / 3.638 GB, free: 260.3 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/5.559, allocations: 76.72 kB / 3.639 GB, free: 260.2 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/5.559, allocations: 43.97 kB / 3.639 GB, free: 260.1 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/5.56, allocations: 1.66 MB / 3.64 GB, free: 258.3 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/5.56, allocations: 0 / 3.64 GB, free: 258.3 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006904/5.567, allocations: 3.868 MB / 3.644 GB, free: 254.4 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004734/5.572, allocations: 3.14 MB / 3.647 GB, free: 251.3 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002036/5.574, allocations: 35.27 kB / 3.647 GB, free: 251.2 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003782/5.578, allocations: 0.7538 MB / 3.648 GB, free: 250.5 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/5.578, allocations: 104.9 kB / 3.648 GB, free: 250.4 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/5.578, allocations: 67.97 kB / 3.648 GB, free: 250.3 MB / 1.17 GB Notification: Performance of sorting global known variables: time 1.473/7.051, allocations: 0.9475 GB / 4.595 GB, free: 189.1 MB / 1.17 GB Notification: Performance of sort global known variables: time 6.61e-07/7.051, allocations: 0 / 4.595 GB, free: 189.1 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.006748/7.058, allocations: 1.86 MB / 4.597 GB, free: 187.4 MB / 1.17 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.01006/7.068, allocations: 5.347 MB / 4.602 GB, free: 182.8 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006908/7.075, allocations: 6.569 MB / 4.609 GB, free: 176.3 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/7.075, allocations: 0 / 4.609 GB, free: 176.3 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00214/7.077, allocations: 2.716 MB / 4.612 GB, free: 173.5 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006151/7.084, allocations: 0.8291 MB / 4.612 GB, free: 172.7 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.593/14.68, allocations: 4.835 GB / 9.447 GB, free: 144.4 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/14.68, allocations: 4.658 MB / 9.452 GB, free: 139.8 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.006465/14.69, allocations: 3.005 MB / 9.455 GB, free: 137 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006355/14.69, allocations: 4.032 MB / 9.459 GB, free: 133 MB / 1.186 GB Notification: Performance of SimCode: time 1.152e-06/14.69, allocations: 0 / 9.459 GB, free: 133 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.39/18.08, allocations: 0.7091 GB / 10.17 GB, free: 373.2 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/33.02, allocations: 7.625 kB / 10.17 GB, free: 373.2 MB / 1.201 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