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.008011/0.008011, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001482/0.001482, allocations: 185.8 kB / 16.67 MB, free: 5.977 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.836/2.836, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 71.89 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3266, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008837/0.3355, allocations: 7.271 MB / 1.215 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.032/1.368, allocations: 155.5 MB / 1.367 GB, free: 4.441 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/1.37, allocations: 25.59 kB / 1.367 GB, free: 4.434 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008833/1.379, allocations: 1.822 MB / 1.369 GB, free: 3.691 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004749/1.384, allocations: 0.8421 MB / 1.369 GB, free: 3.188 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005086/1.389, allocations: 1.037 MB / 1.37 GB, free: 2.641 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006891/1.396, allocations: 3.569 MB / 1.374 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/1.398, allocations: 0.921 MB / 1.375 GB, free: 432 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/1.401, allocations: 1.164 MB / 1.376 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/1.404, allocations: 1.061 MB / 1.377 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001009/1.405, allocations: 195.1 kB / 1.377 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006102/1.411, allocations: 2.24 MB / 1.379 GB, free: 13.92 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002734/1.413, allocations: 1.919 MB / 1.381 GB, free: 13.02 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003442/1.417, allocations: 1.174 MB / 1.382 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/1.427, allocations: 4.416 MB / 1.387 GB, free: 9.332 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.427, allocations: 1.594 kB / 1.387 GB, free: 9.332 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.773e-06/1.427, allocations: 0 / 1.387 GB, free: 9.332 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000194/1.427, allocations: 4 kB / 1.387 GB, free: 9.328 MB / 1.076 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.008368/1.436, allocations: 2.99 MB / 1.39 GB, free: 7.176 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.436, allocations: 10.41 kB / 1.39 GB, free: 7.176 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/1.437, allocations: 300.4 kB / 1.39 GB, free: 7.023 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005882/1.443, allocations: 4.583 MB / 1.394 GB, free: 5.035 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/1.443, allocations: 131.9 kB / 1.394 GB, free: 4.977 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/1.443, allocations: 180.9 kB / 1.395 GB, free: 4.918 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/1.446, allocations: 1.661 MB / 1.396 GB, free: 4.004 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/1.446, allocations: 0 / 1.396 GB, free: 4.004 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.446, allocations: 55.59 kB / 1.396 GB, free: 3.965 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/1.446, allocations: 27.56 kB / 1.396 GB, free: 3.965 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/1.449, allocations: 1.726 MB / 1.398 GB, free: 3.211 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/1.46, allocations: 7.382 MB / 1.405 GB, free: 12.41 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/1.463, allocations: 1.58 MB / 1.407 GB, free: 10.82 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/1.464, allocations: 1.039 MB / 1.408 GB, free: 9.785 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.794e-05/1.464, allocations: 33.17 kB / 1.408 GB, free: 9.754 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/1.465, allocations: 0.9812 MB / 1.409 GB, free: 8.758 MB / 1.092 GB Notification: Performance of pre-optimization done (n=118): time 3.316e-06/1.465, allocations: 0 / 1.409 GB, free: 8.758 MB / 1.092 GB Notification: Performance of matching and sorting (n=118): time 0.004711/1.47, allocations: 2.844 MB / 1.412 GB, free: 5.902 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002206/1.47, allocations: 346.5 kB / 1.412 GB, free: 5.512 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.481, allocations: 7.388 MB / 1.419 GB, free: 14.07 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0006515/1.481, allocations: 77.7 kB / 1.419 GB, free: 13.99 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009024/1.482, allocations: 0.7803 MB / 1.42 GB, free: 13.2 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004154/1.483, allocations: 394.5 kB / 1.42 GB, free: 12.81 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001773/1.484, allocations: 1.88 MB / 1.422 GB, free: 10.91 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.485, allocations: 305.1 kB / 1.422 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01249/1.497, allocations: 12.99 MB / 1.435 GB, free: 13.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01437/1.511, allocations: 13.69 MB / 1.448 GB, free: 15.75 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0176/1.529, allocations: 17.11 MB / 1.465 GB, free: 14.36 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-05/1.529, allocations: 1.125 kB / 1.465 GB, free: 14.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03398/1.563, allocations: 31.26 MB / 1.496 GB, free: 14.9 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003133/1.564, allocations: 181.6 kB / 1.496 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/1.564, allocations: 15.94 kB / 1.496 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.297e-05/1.564, allocations: 24.69 kB / 1.496 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/1.566, allocations: 479.2 kB / 1.496 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-05/1.566, allocations: 23.94 kB / 1.496 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/1.568, allocations: 284.8 kB / 1.497 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/1.568, allocations: 112 kB / 1.497 GB, free: 13.8 MB / 1.186 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.001693/1.57, allocations: 1.24 MB / 1.498 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/1.57, allocations: 181.5 kB / 1.498 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/1.574, allocations: 2.74 MB / 1.501 GB, free: 9.617 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/1.574, allocations: 11.56 kB / 1.501 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/1.574, allocations: 0 / 1.501 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.574, allocations: 7.984 kB / 1.501 GB, free: 9.602 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/1.576, allocations: 1.477 MB / 1.502 GB, free: 8.066 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.576, allocations: 4 kB / 1.502 GB, free: 8.062 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006719/1.577, allocations: 163.8 kB / 1.502 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.577, allocations: 0 / 1.502 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-05/1.577, allocations: 35.97 kB / 1.502 GB, free: 7.867 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/1.577, allocations: 4 kB / 1.502 GB, free: 7.863 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.577, allocations: 3.938 kB / 1.502 GB, free: 7.859 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/1.581, allocations: 2.644 MB / 1.505 GB, free: 5.184 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008151/1.582, allocations: 426.3 kB / 1.505 GB, free: 4.746 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/1.582, allocations: 31.94 kB / 1.506 GB, free: 4.715 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/1.583, allocations: 69.12 kB / 1.506 GB, free: 4.648 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/1.583, allocations: 80.89 kB / 1.506 GB, free: 4.566 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.583, allocations: 55.97 kB / 1.506 GB, free: 4.512 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.004579/1.588, allocations: 4.644 MB / 1.51 GB, free: 15.84 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/1.588, allocations: 0 / 1.51 GB, free: 15.84 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00434/1.592, allocations: 1.221 MB / 1.511 GB, free: 14.62 MB / 1.201 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.002808/1.595, allocations: 0.9621 MB / 1.512 GB, free: 13.84 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01866/1.613, allocations: 18.97 MB / 1.531 GB, free: 10.86 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.613, allocations: 4 kB / 1.531 GB, free: 10.86 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002455/1.616, allocations: 2.239 MB / 1.533 GB, free: 8.602 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/1.618, allocations: 375.7 kB / 1.533 GB, free: 8.25 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.63, allocations: 8.49 MB / 1.542 GB, free: 15.73 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/1.632, allocations: 2.358 MB / 1.544 GB, free: 13.34 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001506/1.633, allocations: 444.8 kB / 1.544 GB, free: 12.9 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/1.634, allocations: 163.4 kB / 1.545 GB, free: 12.74 MB / 1.232 GB Notification: Performance of SimCode: time 8.51e-07/1.634, allocations: 0 / 1.545 GB, free: 12.74 MB / 1.232 GB Notification: Performance of Templates: time 0.09014/1.724, allocations: 37.18 MB / 1.581 GB, free: 7.746 MB / 1.264 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