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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001147/0.001147, allocations: 188.8 kB / 16.25 MB, free: 6.645 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.469/2.469, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.695/0.6963, allocations: 140.4 MB / 0.9491 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006475/0.7028, allocations: 6.035 MB / 0.955 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.8787, allocations: 153.1 MB / 1.105 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.8801, allocations: 27.88 kB / 1.105 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004642/0.8848, allocations: 1.616 MB / 1.106 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.8871, allocations: 0.6765 MB / 1.107 GB, free: 12 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002284/0.8894, allocations: 0.9121 MB / 1.108 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003176/0.8926, allocations: 3.369 MB / 1.111 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.8939, allocations: 0.967 MB / 1.112 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.8954, allocations: 1.168 MB / 1.113 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.8967, allocations: 1.051 MB / 1.114 GB, free: 8.492 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.8969, allocations: 192 kB / 1.114 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.9006, allocations: 2.216 MB / 1.116 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001453/0.902, allocations: 1.923 MB / 1.118 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.9031, allocations: 1.135 MB / 1.119 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00547/0.9085, allocations: 4.297 MB / 1.124 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9086, allocations: 0 / 1.124 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.266e-06/0.9086, allocations: 0 / 1.124 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.089e-05/0.9086, allocations: 3.938 kB / 1.124 GB, free: 14.71 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.004885/0.9135, allocations: 2.959 MB / 1.127 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.9136, allocations: 8.031 kB / 1.127 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009202/0.9145, allocations: 301.8 kB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/0.919, allocations: 4.56 MB / 1.131 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-05/0.9191, allocations: 134.3 kB / 1.131 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.9193, allocations: 184 kB / 1.132 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.9218, allocations: 1.66 MB / 1.133 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.9218, allocations: 4 kB / 1.133 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.922, allocations: 56 kB / 1.133 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.922, allocations: 28 kB / 1.133 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.9244, allocations: 1.722 MB / 1.135 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009224/0.9336, allocations: 7.032 MB / 1.142 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.9358, allocations: 1.579 MB / 1.143 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.937, allocations: 1.035 MB / 1.144 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.029e-05/0.9371, allocations: 37.17 kB / 1.144 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.9384, allocations: 0.9889 MB / 1.145 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=118): time 3.747e-06/0.9384, allocations: 0 / 1.145 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118): time 0.004102/0.9425, allocations: 2.836 MB / 1.148 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002364/0.9428, allocations: 352.2 kB / 1.148 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009333/0.9521, allocations: 7.38 MB / 1.156 GB, free: 13.47 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003399/0.9525, allocations: 77.64 kB / 1.156 GB, free: 13.39 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007546/0.9533, allocations: 0.792 MB / 1.157 GB, free: 12.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/0.9537, allocations: 390.5 kB / 1.157 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001667/0.9553, allocations: 1.884 MB / 1.159 GB, free: 10.3 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.9554, allocations: 301.1 kB / 1.159 GB, free: 10 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01192/0.9674, allocations: 13 MB / 1.172 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01269/0.9801, allocations: 13.69 MB / 1.185 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01656/0.9967, allocations: 17.1 MB / 1.202 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/0.9968, allocations: 4 kB / 1.202 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03393/1.031, allocations: 31.26 MB / 1.232 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/1.031, allocations: 181.7 kB / 1.233 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.796e-05/1.031, allocations: 12 kB / 1.233 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.113e-05/1.031, allocations: 24 kB / 1.233 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/1.033, allocations: 483.3 kB / 1.233 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.522e-05/1.033, allocations: 35.86 kB / 1.233 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/1.035, allocations: 282.8 kB / 1.233 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004373/1.036, allocations: 107.9 kB / 1.233 GB, free: 13.18 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (290): * Single equations (assignments): 276 * Array equations: 13 * 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.001892/1.038, allocations: 1.231 MB / 1.235 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005093/1.038, allocations: 177.6 kB / 1.235 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/1.042, allocations: 2.753 MB / 1.237 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.042, allocations: 12 kB / 1.237 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.042, allocations: 4 kB / 1.237 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.042, allocations: 3.984 kB / 1.237 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/1.045, allocations: 1.477 MB / 1.239 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.045, allocations: 0 / 1.239 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/1.045, allocations: 163.7 kB / 1.239 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/1.045, allocations: 4 kB / 1.239 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.811e-05/1.045, allocations: 35.97 kB / 1.239 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.045, allocations: 0 / 1.239 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.045, allocations: 4 kB / 1.239 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/1.049, allocations: 2.64 MB / 1.242 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/1.05, allocations: 426.3 kB / 1.242 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/1.05, allocations: 27.98 kB / 1.242 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000814/1.051, allocations: 79.86 kB / 1.242 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/1.051, allocations: 80.89 kB / 1.242 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.927e-05/1.051, allocations: 55.97 kB / 1.242 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5962/1.647, allocations: 4.644 MB / 1.247 GB, free: 286 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.002e-06/1.647, allocations: 3.75 kB / 1.247 GB, free: 286 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003777/1.651, allocations: 1.191 MB / 1.248 GB, free: 286 MB / 0.9981 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.00263/1.654, allocations: 0.9481 MB / 1.249 GB, free: 285.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02113/1.675, allocations: 19.62 MB / 1.268 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.675, allocations: 1.125 kB / 1.268 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002201/1.677, allocations: 2.245 MB / 1.27 GB, free: 276.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/1.679, allocations: 349.1 kB / 1.271 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009031/1.688, allocations: 9.578 MB / 1.28 GB, free: 271.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/1.689, allocations: 2.351 MB / 1.282 GB, free: 269.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001326/1.691, allocations: 452.5 kB / 1.283 GB, free: 268.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/1.691, allocations: 167.3 kB / 1.283 GB, free: 268.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.691, allocations: 0 / 1.283 GB, free: 268.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.06955/1.761, allocations: 35.39 MB / 1.317 GB, free: 233.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (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 & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins/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