Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",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.004281/0.004281, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.00125/0.00125, allocations: 201.2 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2811, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009544/0.2907, allocations: 7.275 MB / 1.249 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6816/0.9724, allocations: 155.5 MB / 1.4 GB, free: 12.49 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.9735, allocations: 25.72 kB / 1.4 GB, free: 12.48 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004878/0.9784, allocations: 1.824 MB / 1.402 GB, free: 11.28 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.9809, allocations: 0.8382 MB / 1.403 GB, free: 10.64 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.9835, allocations: 1.035 MB / 1.404 GB, free: 9.852 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003587/0.9871, allocations: 3.57 MB / 1.408 GB, free: 7.703 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.9883, allocations: 0.9121 MB / 1.408 GB, free: 7.133 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.99, allocations: 1.172 MB / 1.41 GB, free: 6.461 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.9916, allocations: 1.057 MB / 1.411 GB, free: 5.758 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.9919, allocations: 198.7 kB / 1.411 GB, free: 5.754 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/0.9958, allocations: 2.229 MB / 1.413 GB, free: 4.629 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.9975, allocations: 2.051 MB / 1.415 GB, free: 3.625 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.9998, allocations: 2.154 MB / 1.417 GB, free: 2.047 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009152/1.009, allocations: 7.879 MB / 1.425 GB, free: 12.14 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/1.009, allocations: 0 / 1.425 GB, free: 12.14 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.024e-06/1.009, allocations: 0 / 1.425 GB, free: 12.14 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.353e-05/1.009, allocations: 0 / 1.425 GB, free: 12.14 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.01077/1.02, allocations: 6.383 MB / 1.431 GB, free: 5.668 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/1.02, allocations: 8.031 kB / 1.431 GB, free: 5.66 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002395/1.02, allocations: 194.5 kB / 1.431 GB, free: 5.461 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/1.022, allocations: 494 kB / 1.432 GB, free: 4.977 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3293/1.351, allocations: 321.2 MB / 1.745 GB, free: 3.633 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/1.351, allocations: 126.4 kB / 1.745 GB, free: 3.508 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/1.351, allocations: 184 kB / 1.746 GB, free: 3.328 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/1.354, allocations: 1.664 MB / 1.747 GB, free: 1.605 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/1.354, allocations: 3.938 kB / 1.747 GB, free: 1.602 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/1.354, allocations: 56 kB / 1.747 GB, free: 1.547 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/1.354, allocations: 35.94 kB / 1.747 GB, free: 1.512 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/1.357, allocations: 1.722 MB / 1.749 GB, free: 15.78 MB / 1.451 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06774/1.425, allocations: 76.99 MB / 1.824 GB, free: 2.586 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/1.428, allocations: 1.584 MB / 1.826 GB, free: 1 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5389/1.967, allocations: 1.027 MB / 1.827 GB, free: 416.3 MB / 1.514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/1.967, allocations: 35.86 kB / 1.827 GB, free: 416.3 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/1.969, allocations: 0.9818 MB / 1.828 GB, free: 416.3 MB / 1.514 GB Notification: Performance of pre-optimization done (n=118): time 3.306e-06/1.969, allocations: 0.6875 kB / 1.828 GB, free: 416.3 MB / 1.514 GB Notification: Performance of matching and sorting (n=118): time 0.005764/1.974, allocations: 3.025 MB / 1.831 GB, free: 416.2 MB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/1.974, allocations: 347.2 kB / 1.831 GB, free: 415.9 MB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.367/2.341, allocations: 379.7 MB / 2.202 GB, free: 76.82 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.0003185/2.342, allocations: 72.89 kB / 2.202 GB, free: 76.75 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.001571/2.343, allocations: 1.622 MB / 2.203 GB, free: 75.21 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/2.344, allocations: 402.1 kB / 2.204 GB, free: 74.87 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007163/2.344, allocations: 0.513 MB / 2.204 GB, free: 74.35 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 3.378e-05/2.345, allocations: 303.1 kB / 2.205 GB, free: 74.05 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/2.346, allocations: 1.438 MB / 2.206 GB, free: 72.61 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/2.348, allocations: 2.169 MB / 2.208 GB, free: 70.16 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/2.351, allocations: 3.538 MB / 2.212 GB, free: 66.45 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/2.351, allocations: 10.91 kB / 2.212 GB, free: 66.44 MB / 1.514 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005623/2.357, allocations: 4.272 MB / 2.216 GB, free: 62.29 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/2.357, allocations: 185.7 kB / 2.216 GB, free: 62.1 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/2.357, allocations: 24 kB / 2.216 GB, free: 62.08 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.763e-05/2.357, allocations: 32 kB / 2.216 GB, free: 62.05 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/2.359, allocations: 473.7 kB / 2.216 GB, free: 61.62 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.659e-05/2.359, allocations: 49.95 kB / 2.217 GB, free: 61.58 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/2.361, allocations: 0.5621 MB / 2.217 GB, free: 61.1 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/2.361, allocations: 104.9 kB / 2.217 GB, free: 61 MB / 1.514 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (265): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001574/2.363, allocations: 1.667 MB / 2.219 GB, free: 59.36 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/2.364, allocations: 370.3 kB / 2.219 GB, free: 59 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/2.368, allocations: 3.034 MB / 2.222 GB, free: 55.98 MB / 1.514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/2.368, allocations: 12 kB / 2.222 GB, free: 55.96 MB / 1.514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.368, allocations: 3.938 kB / 2.222 GB, free: 55.96 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/2.368, allocations: 5.078 kB / 2.222 GB, free: 55.96 MB / 1.514 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/2.37, allocations: 2.813 MB / 2.225 GB, free: 53.12 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/2.37, allocations: 0.875 kB / 2.225 GB, free: 53.12 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/2.371, allocations: 169 kB / 2.225 GB, free: 52.97 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/2.371, allocations: 4.812 kB / 2.225 GB, free: 52.97 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/2.371, allocations: 37.06 kB / 2.225 GB, free: 52.93 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/2.371, allocations: 4.938 kB / 2.225 GB, free: 52.93 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/2.371, allocations: 8.344 kB / 2.225 GB, free: 52.93 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/2.374, allocations: 2.832 MB / 2.228 GB, free: 50.06 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/2.375, allocations: 1.259 MB / 2.229 GB, free: 48.8 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005129/2.376, allocations: 28 kB / 2.229 GB, free: 48.77 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/2.377, allocations: 298.4 kB / 2.229 GB, free: 48.48 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/2.377, allocations: 84.83 kB / 2.229 GB, free: 48.4 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.477e-05/2.378, allocations: 55.94 kB / 2.23 GB, free: 48.35 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.7622/3.14, allocations: 305.3 MB / 2.528 GB, free: 0.6192 GB / 1.67 GB Notification: Performance of sort global known variables: time 7.42e-07/3.14, allocations: 1.406 kB / 2.528 GB, free: 0.6192 GB / 1.67 GB Notification: Performance of remove unused functions: time 0.00367/3.143, allocations: 1.253 MB / 2.529 GB, free: 0.6181 GB / 1.67 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 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006706/3.15, allocations: 4.26 MB / 2.533 GB, free: 0.6149 GB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.004057/3.154, allocations: 4.618 MB / 2.538 GB, free: 0.6107 GB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/3.154, allocations: 0 / 2.538 GB, free: 0.6107 GB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/3.156, allocations: 2.246 MB / 2.54 GB, free: 0.6087 GB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/3.158, allocations: 0.4977 MB / 2.54 GB, free: 0.6083 GB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.057/5.216, allocations: 1.504 GB / 4.044 GB, free: 0.543 GB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/5.218, allocations: 2.362 MB / 4.047 GB, free: 0.5412 GB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.002667/5.22, allocations: 1.246 MB / 4.048 GB, free: 0.5403 GB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002112/5.222, allocations: 1.759 MB / 4.05 GB, free: 0.5387 GB / 1.67 GB Notification: Performance of SimCode: time 4.71e-07/5.222, allocations: 0.6562 kB / 4.05 GB, free: 0.5387 GB / 1.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7786/6.001, allocations: 253.1 MB / 4.297 GB, free: 301.7 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/21.57, allocations: 8.25 kB / 4.297 GB, free: 301.7 MB / 1.67 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches