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.0008711/0.0008713, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006067/0.006067, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.382/2.382, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003729, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6825, allocations: 142.4 MB / 0.955 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006029/0.6886, allocations: 5.588 MB / 0.9605 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.8491, allocations: 150.9 MB / 1.108 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.8504, allocations: 23.88 kB / 1.108 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004998/0.8555, allocations: 1.616 MB / 1.109 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.8578, allocations: 0.6568 MB / 1.11 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.8603, allocations: 0.895 MB / 1.111 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003567/0.8638, allocations: 3.291 MB / 1.114 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.8652, allocations: 0.9131 MB / 1.115 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.8665, allocations: 0.8754 MB / 1.116 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.8676, allocations: 0.8477 MB / 1.117 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.8677, allocations: 48 kB / 1.117 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.8709, allocations: 1.97 MB / 1.119 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.8723, allocations: 1.747 MB / 1.12 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.8732, allocations: 0.9566 MB / 1.121 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004967/0.8781, allocations: 4.105 MB / 1.125 GB, free: 276 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.8782, allocations: 7.984 kB / 1.125 GB, free: 268 kB / 0.8731 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8782, allocations: 0 / 1.125 GB, free: 268 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.137e-05/0.8782, allocations: 0 / 1.125 GB, free: 268 kB / 0.8731 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.004048/0.8823, allocations: 2.499 MB / 1.128 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.8823, allocations: 16.03 kB / 1.128 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008283/0.8831, allocations: 305.8 kB / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004466/0.8876, allocations: 4.556 MB / 1.133 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.8877, allocations: 134.4 kB / 1.133 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.888, allocations: 180 kB / 1.133 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.8905, allocations: 1.676 MB / 1.135 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.8905, allocations: 0 / 1.135 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.8907, allocations: 48 kB / 1.135 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.8907, allocations: 32 kB / 1.135 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.8932, allocations: 1.734 MB / 1.136 GB, free: 4.91 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009893/0.9031, allocations: 7.121 MB / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.9053, allocations: 1.594 MB / 1.145 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.9066, allocations: 1.035 MB / 1.146 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.183e-05/0.9067, allocations: 41.17 kB / 1.146 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.908, allocations: 0.985 MB / 1.147 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=118): time 2.825e-06/0.908, allocations: 0 / 1.147 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118): time 0.004042/0.9121, allocations: 2.852 MB / 1.15 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/0.9123, allocations: 344.2 kB / 1.15 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009485/0.9218, allocations: 7.384 MB / 1.157 GB, free: 15.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.00063/0.9225, allocations: 73.7 kB / 1.157 GB, free: 15.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.9237, allocations: 0.7959 MB / 1.158 GB, free: 14.46 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006925/0.9244, allocations: 390.5 kB / 1.158 GB, free: 14.07 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001529/0.9259, allocations: 1.609 MB / 1.16 GB, free: 12.45 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.926, allocations: 301.1 kB / 1.16 GB, free: 12.15 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01384/0.9399, allocations: 12.99 MB / 1.173 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01357/0.9535, allocations: 13.7 MB / 1.186 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/0.9694, allocations: 17.12 MB / 1.203 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.29e-05/0.9694, allocations: 4 kB / 1.203 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03336/1.003, allocations: 31.26 MB / 1.234 GB, free: 436 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002515/1.003, allocations: 181.6 kB / 1.234 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.155e-05/1.003, allocations: 16 kB / 1.234 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.781e-05/1.003, allocations: 24 kB / 1.234 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.005, allocations: 479.2 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-05/1.005, allocations: 23.94 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.007, allocations: 304.4 kB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/1.008, allocations: 104 kB / 1.235 GB, free: 15.31 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.001998/1.01, allocations: 1.249 MB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/1.01, allocations: 185.5 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/1.014, allocations: 2.745 MB / 1.239 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.014, allocations: 12 kB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.014, allocations: 7.984 kB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.014, allocations: 3.984 kB / 1.239 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/1.017, allocations: 1.477 MB / 1.24 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.017, allocations: 0 / 1.24 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/1.018, allocations: 163.7 kB / 1.24 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/1.018, allocations: 4 kB / 1.24 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.05e-05/1.018, allocations: 35.97 kB / 1.24 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.924e-06/1.018, allocations: 4 kB / 1.24 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.018, allocations: 4 kB / 1.24 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/1.021, allocations: 2.644 MB / 1.243 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008588/1.022, allocations: 470.1 kB / 1.243 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/1.023, allocations: 28 kB / 1.243 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009898/1.024, allocations: 91.92 kB / 1.244 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/1.024, allocations: 88.88 kB / 1.244 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.024, allocations: 47.98 kB / 1.244 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004317/1.028, allocations: 4.644 MB / 1.248 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.028, allocations: 0 / 1.248 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002792/1.031, allocations: 1.202 MB / 1.249 GB, free: 52 kB / 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.5464/1.577, allocations: 0.9421 MB / 1.25 GB, free: 285.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02265/1.6, allocations: 18.98 MB / 1.269 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.6, allocations: 1.125 kB / 1.269 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/1.603, allocations: 2.25 MB / 1.271 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.001698/1.604, allocations: 318.8 kB / 1.271 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009269/1.614, allocations: 9.616 MB / 1.281 GB, free: 271.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/1.615, allocations: 2.356 MB / 1.283 GB, free: 269.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00128/1.617, 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.0003589/1.617, allocations: 155.4 kB / 1.284 GB, free: 268.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.617, allocations: 0 / 1.284 GB, free: 268.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04944/1.666, allocations: 32.23 MB / 1.315 GB, free: 236.5 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