Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001661/0.001661, 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.002005/0.002005, allocations: 198.1 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.8 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 65.62 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4087, allocations: 157.4 MB / 1.052 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.01399/0.4227, allocations: 7.231 MB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.2065/0.6292, allocations: 153.5 MB / 1.209 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.6314, allocations: 23.88 kB / 1.209 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005501/0.637, allocations: 1.655 MB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.6401, allocations: 0.7381 MB / 1.211 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002959/0.6431, allocations: 0.9045 MB / 1.212 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004658/0.6478, allocations: 3.492 MB / 1.216 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.6497, allocations: 0.8866 MB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.652, allocations: 1.024 MB / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.6542, allocations: 1.035 MB / 1.219 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007275/0.655, allocations: 100 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005053/0.66, allocations: 2.024 MB / 1.221 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002392/0.6625, allocations: 1.825 MB / 1.222 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.6649, allocations: 1.076 MB / 1.223 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008485/0.6735, allocations: 4.261 MB / 1.228 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.6735, allocations: 0 / 1.228 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6735, allocations: 0 / 1.228 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001572/0.6737, allocations: 4 kB / 1.228 GB, free: 4.461 MB / 0.9825 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.01013/0.6838, allocations: 3.002 MB / 1.231 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.6839, allocations: 8.031 kB / 1.231 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.6854, allocations: 293.9 kB / 1.231 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005903/0.6913, allocations: 4.56 MB / 1.235 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.6914, allocations: 134.4 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.6917, allocations: 183.9 kB / 1.236 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.6945, allocations: 1.66 MB / 1.237 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.6946, allocations: 0 / 1.237 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.6947, allocations: 52 kB / 1.237 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.6947, allocations: 32 kB / 1.237 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.6973, allocations: 1.73 MB / 1.239 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/0.7094, allocations: 7.424 MB / 1.246 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6394/1.349, allocations: 1.571 MB / 1.248 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/1.35, allocations: 1.033 MB / 1.249 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.124e-05/1.35, allocations: 36.83 kB / 1.249 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/1.352, allocations: 0.9823 MB / 1.25 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=118): time 2.585e-06/1.352, allocations: 0 / 1.25 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118): time 0.003802/1.356, allocations: 2.844 MB / 1.253 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/1.356, allocations: 348.7 kB / 1.253 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.366, allocations: 7.381 MB / 1.26 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004327/1.367, allocations: 74.36 kB / 1.26 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008581/1.368, allocations: 0.7891 MB / 1.261 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/1.368, allocations: 390.7 kB / 1.261 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002329/1.371, allocations: 1.887 MB / 1.263 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/1.371, allocations: 302.6 kB / 1.263 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01607/1.387, allocations: 12.99 MB / 1.276 GB, free: 188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0171/1.404, allocations: 13.7 MB / 1.29 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02069/1.425, allocations: 17.09 MB / 1.306 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.275e-05/1.425, allocations: 8.234 kB / 1.306 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03763/1.462, allocations: 31.26 MB / 1.337 GB, free: 132.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002078/1.463, allocations: 179.2 kB / 1.337 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/1.463, allocations: 12 kB / 1.337 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.025e-05/1.463, allocations: 21.69 kB / 1.337 GB, free: 132 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/1.464, allocations: 484.3 kB / 1.337 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.091e-05/1.465, allocations: 24.8 kB / 1.337 GB, free: 131.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/1.466, allocations: 296.5 kB / 1.338 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/1.467, allocations: 109.2 kB / 1.338 GB, free: 131.2 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.001332/1.468, allocations: 1.237 MB / 1.339 GB, free: 130 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/1.468, allocations: 177.6 kB / 1.339 GB, free: 129.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/1.472, allocations: 2.738 MB / 1.342 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/1.472, allocations: 12 kB / 1.342 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.472, allocations: 3.984 kB / 1.342 GB, free: 127 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.472, allocations: 5.484 kB / 1.342 GB, free: 127 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/1.473, allocations: 1.486 MB / 1.343 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.473, allocations: 0 / 1.343 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/1.474, allocations: 163.7 kB / 1.343 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/1.474, allocations: 6.719 kB / 1.343 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.328e-05/1.474, allocations: 35.97 kB / 1.344 GB, free: 125.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/1.474, allocations: 4 kB / 1.344 GB, free: 125.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.474, allocations: 0 / 1.344 GB, free: 125.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/1.477, allocations: 2.636 MB / 1.346 GB, free: 122.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/1.477, allocations: 430.3 kB / 1.347 GB, free: 122.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/1.477, allocations: 27.98 kB / 1.347 GB, free: 122.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/1.478, allocations: 92.67 kB / 1.347 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.478, allocations: 80.89 kB / 1.347 GB, free: 122 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.19e-05/1.478, allocations: 51.97 kB / 1.347 GB, free: 122 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002768/1.481, allocations: 4.644 MB / 1.351 GB, free: 117.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.481, allocations: 0 / 1.351 GB, free: 117.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0024/1.484, allocations: 1.212 MB / 1.352 GB, free: 116.2 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.002088/1.486, allocations: 0.9581 MB / 1.353 GB, free: 115.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01195/1.498, allocations: 18.97 MB / 1.372 GB, free: 96.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.498, allocations: 1.875 kB / 1.372 GB, free: 96.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/1.499, allocations: 2.251 MB / 1.374 GB, free: 94.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/1.501, allocations: 346 kB / 1.374 GB, free: 93.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00902/1.51, allocations: 9.601 MB / 1.384 GB, free: 84.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.512, allocations: 2.351 MB / 1.386 GB, free: 81.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001246/1.513, allocations: 449.9 kB / 1.387 GB, free: 81.51 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/1.513, allocations: 159.4 kB / 1.387 GB, free: 81.36 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.513, allocations: 4 kB / 1.387 GB, free: 81.35 MB / 0.9981 GB Notification: Performance of Templates: time 0.06672/1.58, allocations: 35.31 MB / 1.421 GB, free: 46.26 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches