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.001364/0.001364, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001602/0.001602, allocations: 191.7 kB / 16.14 MB, free: 6.711 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.299/2.299, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.88 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6836, allocations: 140.4 MB / 0.9489 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006597/0.6902, allocations: 6.03 MB / 0.9548 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1773/0.8675, allocations: 153.3 MB / 1.105 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.8698, allocations: 23.88 kB / 1.105 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005574/0.8754, allocations: 1.624 MB / 1.106 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.8784, allocations: 0.6564 MB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.8812, allocations: 0.8898 MB / 1.108 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00411/0.8854, allocations: 3.299 MB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.887, allocations: 0.917 MB / 1.112 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.8888, allocations: 1 MB / 1.113 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.8908, allocations: 1.004 MB / 1.114 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006801/0.8915, allocations: 100 kB / 1.114 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004376/0.8959, allocations: 2.021 MB / 1.116 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002162/0.8981, allocations: 1.821 MB / 1.118 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.9002, allocations: 1.041 MB / 1.119 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007354/0.9076, allocations: 4.195 MB / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9076, allocations: 0 / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9076, allocations: 0 / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001384/0.9077, allocations: 0 / 1.123 GB, free: 15.62 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.008113/0.9159, allocations: 2.959 MB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.9159, allocations: 8.031 kB / 1.126 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.9175, allocations: 297.8 kB / 1.126 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006592/0.9241, allocations: 4.568 MB / 1.13 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.9243, allocations: 134.4 kB / 1.13 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.9247, allocations: 187.9 kB / 1.131 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/0.928, allocations: 1.656 MB / 1.132 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.928, allocations: 3.984 kB / 1.132 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.9282, allocations: 55.98 kB / 1.132 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.9282, allocations: 32 kB / 1.132 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.931, allocations: 1.722 MB / 1.134 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/0.9422, allocations: 7.03 MB / 1.141 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.9447, allocations: 1.579 MB / 1.142 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.9459, allocations: 1.042 MB / 1.143 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.394e-05/0.946, allocations: 33.03 kB / 1.143 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001471/0.9475, allocations: 0.9842 MB / 1.144 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=118): time 4.739e-06/0.9475, allocations: 4 kB / 1.144 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118): time 0.004384/0.9519, allocations: 2.84 MB / 1.147 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/0.9522, allocations: 348.2 kB / 1.148 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/0.9628, allocations: 7.384 MB / 1.155 GB, free: 14.37 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005197/0.9634, allocations: 73.7 kB / 1.155 GB, free: 14.29 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.9647, allocations: 0.792 MB / 1.156 GB, free: 13.49 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007427/0.9654, allocations: 394.5 kB / 1.156 GB, free: 13.1 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003205/0.9687, allocations: 1.884 MB / 1.158 GB, free: 11.2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.9688, allocations: 301.1 kB / 1.158 GB, free: 10.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01285/0.9817, allocations: 12.99 MB / 1.171 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01358/0.9953, allocations: 13.7 MB / 1.184 GB, free: 32 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01738/1.013, allocations: 17.11 MB / 1.201 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.613e-05/1.013, allocations: 4 kB / 1.201 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03505/1.048, allocations: 31.26 MB / 1.231 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/1.048, allocations: 177.6 kB / 1.232 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.875e-05/1.048, allocations: 12 kB / 1.232 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.881e-05/1.048, allocations: 20 kB / 1.232 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/1.051, allocations: 479.2 kB / 1.232 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.519e-05/1.051, allocations: 24.34 kB / 1.232 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/1.053, allocations: 289 kB / 1.232 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005664/1.054, allocations: 108 kB / 1.232 GB, free: 14.1 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.00224/1.056, allocations: 1.231 MB / 1.234 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006897/1.057, allocations: 185.5 kB / 1.234 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004675/1.061, allocations: 2.749 MB / 1.237 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.061, allocations: 11.98 kB / 1.237 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.061, allocations: 0 / 1.237 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.061, allocations: 11.91 kB / 1.237 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/1.064, allocations: 1.477 MB / 1.238 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.064, allocations: 3.984 kB / 1.238 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007145/1.065, allocations: 155.8 kB / 1.238 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/1.065, allocations: 4 kB / 1.238 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.065, allocations: 39.97 kB / 1.238 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.065, allocations: 7.938 kB / 1.238 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.065, allocations: 3.984 kB / 1.238 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/1.069, allocations: 2.644 MB / 1.241 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008263/1.07, allocations: 434.2 kB / 1.241 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/1.07, allocations: 28 kB / 1.241 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009989/1.071, allocations: 73.3 kB / 1.241 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/1.071, allocations: 84.88 kB / 1.241 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.071, allocations: 47.97 kB / 1.241 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004668/1.076, allocations: 4.652 MB / 1.246 GB, free: 104 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.076, allocations: 0 / 1.246 GB, free: 104 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.4622/1.538, allocations: 1.186 MB / 1.247 GB, free: 286.6 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.002231/1.541, allocations: 0.9446 MB / 1.248 GB, free: 286.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01702/1.558, allocations: 18.97 MB / 1.267 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.558, allocations: 1.312 kB / 1.267 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.56, allocations: 2.248 MB / 1.269 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/1.561, allocations: 320.6 kB / 1.269 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008847/1.57, allocations: 9.571 MB / 1.278 GB, free: 273 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/1.572, allocations: 2.346 MB / 1.281 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001271/1.573, allocations: 456.4 kB / 1.281 GB, free: 270.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/1.573, allocations: 159.4 kB / 1.281 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.573, allocations: 4 kB / 1.281 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.06872/1.642, allocations: 34.5 MB / 1.315 GB, free: 235.9 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