Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0014/0.0014, 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.001544/0.001544, allocations: 192.9 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 63.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6884, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.01077/0.6992, allocations: 7.291 MB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2016/0.9008, allocations: 155.5 MB / 1.176 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.9023, allocations: 27.88 kB / 1.176 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005319/0.9076, allocations: 1.801 MB / 1.178 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.9109, allocations: 0.8581 MB / 1.179 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.9138, allocations: 1.028 MB / 1.18 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004545/0.9183, allocations: 3.563 MB / 1.183 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.9202, allocations: 0.9094 MB / 1.184 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.9225, allocations: 1.153 MB / 1.185 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.9246, allocations: 1.055 MB / 1.186 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006787/0.9252, allocations: 200 kB / 1.187 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/0.9297, allocations: 2.208 MB / 1.189 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002212/0.9319, allocations: 1.907 MB / 1.191 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.9343, allocations: 1.182 MB / 1.192 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008387/0.9427, allocations: 4.363 MB / 1.196 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9427, allocations: 0 / 1.196 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9428, allocations: 0 / 1.196 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001492/0.9429, allocations: 0 / 1.196 GB, free: 10.76 MB / 0.9512 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.007222/0.9501, allocations: 2.989 MB / 1.199 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.9502, allocations: 12.03 kB / 1.199 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009565/0.9512, allocations: 297.8 kB / 1.199 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005312/0.9565, allocations: 4.556 MB / 1.204 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.9566, allocations: 134.4 kB / 1.204 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.9569, allocations: 180 kB / 1.204 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.9596, allocations: 1.664 MB / 1.206 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.9597, allocations: 0 / 1.206 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.9598, allocations: 52 kB / 1.206 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.9598, allocations: 28 kB / 1.206 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/0.9625, allocations: 1.722 MB / 1.207 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.9744, allocations: 7.429 MB / 1.215 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/0.977, allocations: 1.596 MB / 1.216 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.9784, allocations: 1.035 MB / 1.217 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/0.9785, allocations: 37.17 kB / 1.217 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001489/0.98, allocations: 0.9773 MB / 1.218 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=118): time 3.677e-06/0.9801, allocations: 0 / 1.218 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118): time 0.00476/0.9848, allocations: 2.848 MB / 1.221 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002665/0.9851, allocations: 344.2 kB / 1.221 GB, free: 452 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0112/0.9963, allocations: 7.38 MB / 1.229 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004791/0.9968, allocations: 69.7 kB / 1.229 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.9979, allocations: 0.7921 MB / 1.229 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/0.9985, allocations: 390.4 kB / 1.23 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002461/1.001, allocations: 1.892 MB / 1.232 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.001, allocations: 301.1 kB / 1.232 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01473/1.016, allocations: 12.99 MB / 1.245 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6424/1.658, allocations: 13.69 MB / 1.258 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01791/1.676, allocations: 17.11 MB / 1.275 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.734e-05/1.676, allocations: 0 / 1.275 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02512/1.701, allocations: 31.26 MB / 1.305 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002135/1.702, allocations: 186.2 kB / 1.305 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/1.702, allocations: 12 kB / 1.305 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.69e-05/1.702, allocations: 20.7 kB / 1.305 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/1.704, allocations: 476.6 kB / 1.306 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/1.704, allocations: 34.72 kB / 1.306 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/1.705, allocations: 285.4 kB / 1.306 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/1.705, allocations: 108.8 kB / 1.306 GB, free: 193.9 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.001219/1.707, allocations: 1.234 MB / 1.307 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/1.707, allocations: 182.2 kB / 1.308 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/1.71, allocations: 2.744 MB / 1.31 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/1.71, allocations: 8 kB / 1.31 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.71, allocations: 1.031 kB / 1.31 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.71, allocations: 4.078 kB / 1.31 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/1.712, allocations: 1.48 MB / 1.312 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.712, allocations: 4 kB / 1.312 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/1.713, allocations: 162.6 kB / 1.312 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/1.713, allocations: 4 kB / 1.312 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.856e-05/1.713, allocations: 39.59 kB / 1.312 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/1.713, allocations: 4 kB / 1.312 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.713, allocations: 0 / 1.312 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/1.715, allocations: 2.642 MB / 1.315 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/1.716, allocations: 423.6 kB / 1.315 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.716, allocations: 35.7 kB / 1.315 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/1.717, allocations: 74.8 kB / 1.315 GB, free: 186 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.717, allocations: 82.81 kB / 1.315 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/1.717, allocations: 47.45 kB / 1.315 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002804/1.72, allocations: 4.656 MB / 1.32 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.72, allocations: 0 / 1.32 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002318/1.722, allocations: 1.22 MB / 1.321 GB, free: 180.5 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.002522/1.725, allocations: 0.9511 MB / 1.322 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01332/1.738, allocations: 19.63 MB / 1.341 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/1.738, allocations: 448 / 1.341 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/1.74, allocations: 2.243 MB / 1.343 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/1.742, allocations: 359.9 kB / 1.344 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008335/1.75, allocations: 8.569 MB / 1.352 GB, free: 149 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/1.751, allocations: 2.355 MB / 1.354 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001359/1.753, allocations: 448.7 kB / 1.355 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/1.753, allocations: 171.3 kB / 1.355 GB, free: 146 MB / 0.9981 GB Notification: Performance of SimCode: time 1.563e-06/1.753, allocations: 0 / 1.355 GB, free: 146 MB / 0.9981 GB Notification: Performance of Templates: time 0.07103/1.824, allocations: 36.36 MB / 1.39 GB, free: 109.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches