Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_9_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.00113/0.00113, 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.001162/0.001162, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.293/2.293, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5677/0.569, allocations: 140.4 MB / 0.9497 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006146/0.5752, allocations: 6.043 MB / 0.9556 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.7344, allocations: 155.4 MB / 1.107 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.7356, allocations: 23.88 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004309/0.7399, allocations: 1.762 MB / 1.109 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.7421, allocations: 0.7537 MB / 1.11 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.7445, allocations: 1.021 MB / 1.111 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003252/0.7477, allocations: 3.346 MB / 1.114 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.749, allocations: 0.9554 MB / 1.115 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.7505, allocations: 1.126 MB / 1.116 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.752, allocations: 1.027 MB / 1.117 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003825/0.7524, allocations: 192 kB / 1.117 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/0.7556, allocations: 2.208 MB / 1.119 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001627/0.7573, allocations: 2.051 MB / 1.121 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002657/0.7599, allocations: 2.118 MB / 1.124 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008026/0.768, allocations: 7.698 MB / 1.131 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.768, allocations: 0 / 1.131 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.724e-06/0.768, allocations: 4 kB / 1.131 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001314/0.7681, allocations: 0 / 1.131 GB, free: 7.594 MB / 0.8887 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.01285/0.781, allocations: 6.197 MB / 1.137 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.7811, allocations: 12.03 kB / 1.137 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002527/0.7813, allocations: 190.5 kB / 1.137 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.7832, allocations: 479.4 kB / 1.138 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6013/1.385, allocations: 321.1 MB / 1.451 GB, free: 93.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/1.385, allocations: 134.4 kB / 1.451 GB, free: 93.69 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/1.385, allocations: 180 kB / 1.452 GB, free: 93.51 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/1.387, allocations: 1.663 MB / 1.453 GB, free: 91.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/1.387, allocations: 0.6094 kB / 1.453 GB, free: 91.79 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.387, allocations: 55.98 kB / 1.453 GB, free: 91.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/1.387, allocations: 32 kB / 1.453 GB, free: 91.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/1.389, allocations: 1.726 MB / 1.455 GB, free: 89.97 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03924/1.428, allocations: 76.61 MB / 1.53 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/1.43, allocations: 1.587 MB / 1.531 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009133/1.431, allocations: 1.037 MB / 1.532 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.109e-05/1.431, allocations: 32.94 kB / 1.532 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/1.432, allocations: 0.985 MB / 1.533 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 2.976e-06/1.432, allocations: 0 / 1.533 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.004504/1.437, allocations: 3.007 MB / 1.536 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.437, allocations: 346.5 kB / 1.537 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7487/2.186, allocations: 379.7 MB / 1.907 GB, free: 214.6 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003153/2.186, allocations: 72.98 kB / 1.907 GB, free: 214.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/2.188, allocations: 1.611 MB / 1.909 GB, free: 213 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/2.188, allocations: 380 kB / 1.909 GB, free: 212.8 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005306/2.188, allocations: 0.5157 MB / 1.91 GB, free: 212.3 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 3.256e-05/2.188, allocations: 308.9 kB / 1.91 GB, free: 212 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/2.19, allocations: 1.437 MB / 1.912 GB, free: 210.5 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/2.192, allocations: 2.166 MB / 1.914 GB, free: 208.1 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/2.195, allocations: 3.543 MB / 1.917 GB, free: 204.3 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/2.195, allocations: 8.938 kB / 1.917 GB, free: 204.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.005291/2.2, allocations: 4.252 MB / 1.921 GB, free: 200 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/2.2, allocations: 185.6 kB / 1.922 GB, free: 199.8 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/2.2, allocations: 20 kB / 1.922 GB, free: 199.8 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/2.2, allocations: 32 kB / 1.922 GB, free: 199.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/2.202, allocations: 479.1 kB / 1.922 GB, free: 199.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.832e-05/2.202, allocations: 43.86 kB / 1.922 GB, free: 199.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/2.204, allocations: 0.55 MB / 1.923 GB, free: 198.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/2.204, allocations: 112.6 kB / 1.923 GB, free: 198.6 MB / 1.139 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.00144/2.206, allocations: 1.664 MB / 1.924 GB, free: 196.9 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007355/2.206, allocations: 347.3 kB / 1.925 GB, free: 196.6 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/2.21, allocations: 3.044 MB / 1.928 GB, free: 193.5 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/2.21, allocations: 8 kB / 1.928 GB, free: 193.5 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/2.21, allocations: 0 / 1.928 GB, free: 193.5 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/2.21, allocations: 3.984 kB / 1.928 GB, free: 193.5 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/2.212, allocations: 2.817 MB / 1.93 GB, free: 190.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/2.212, allocations: 0 / 1.93 GB, free: 190.7 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/2.213, allocations: 167.7 kB / 1.931 GB, free: 190.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/2.213, allocations: 4 kB / 1.931 GB, free: 190.5 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/2.213, allocations: 43.91 kB / 1.931 GB, free: 190.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/2.213, allocations: 4.656 kB / 1.931 GB, free: 190.4 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/2.213, allocations: 0 / 1.931 GB, free: 190.4 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/2.216, allocations: 2.813 MB / 1.933 GB, free: 187.6 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/2.217, allocations: 1.233 MB / 1.935 GB, free: 186.3 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005353/2.218, allocations: 35.84 kB / 1.935 GB, free: 186.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/2.219, allocations: 309.5 kB / 1.935 GB, free: 186 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/2.219, allocations: 81.7 kB / 1.935 GB, free: 185.9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/2.22, allocations: 51.97 kB / 1.935 GB, free: 185.9 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.5793/2.799, allocations: 305.3 MB / 2.233 GB, free: 322.3 MB / 1.139 GB Notification: Performance of sort global known variables: time 5.31e-07/2.799, allocations: 0 / 2.233 GB, free: 322.3 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003224/2.802, allocations: 1.219 MB / 2.234 GB, free: 321.2 MB / 1.139 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.005466/2.808, allocations: 4.229 MB / 2.239 GB, free: 317.5 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00486/2.812, allocations: 5.269 MB / 2.244 GB, free: 312.2 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.812, allocations: 3.938 kB / 2.244 GB, free: 312.2 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0015/2.814, allocations: 2.243 MB / 2.246 GB, free: 309.9 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/2.816, allocations: 481 kB / 2.246 GB, free: 309.5 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.288/5.104, allocations: 1.515 GB / 3.761 GB, free: 71.4 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/5.106, allocations: 2.348 MB / 3.764 GB, free: 69.04 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002495/5.108, allocations: 1.255 MB / 3.765 GB, free: 67.92 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/5.11, allocations: 1.756 MB / 3.767 GB, free: 66.16 MB / 1.139 GB Notification: Performance of SimCode: time 5.31e-07/5.11, allocations: 2.25 kB / 3.767 GB, free: 66.16 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.133/6.243, allocations: 254.7 MB / 4.015 GB, free: 253.8 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.174/15.42, allocations: 8.938 kB / 4.015 GB, free: 253.8 MB / 1.139 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_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_AbsorbedRadiationElectrochromic.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches