Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 99.91 kB / 16.35 MB, free: 5.824 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.001721/0.001721, allocations: 193.2 kB / 17.29 MB, free: 5.48 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 68.38 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3126, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.0107/0.3233, allocations: 8.537 MB / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7866/1.11, allocations: 159.4 MB / 1.191 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/1.112, allocations: 37.88 kB / 1.191 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005578/1.117, allocations: 1.979 MB / 1.193 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003707/1.121, allocations: 1.255 MB / 1.194 GB, free: 11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003594/1.125, allocations: 1.455 MB / 1.195 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008618/1.133, allocations: 5.431 MB / 1.201 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/1.135, allocations: 1.231 MB / 1.202 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/1.139, allocations: 1.721 MB / 1.204 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/1.142, allocations: 1.558 MB / 1.205 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0007282/1.143, allocations: 289.5 kB / 1.205 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006192/1.149, allocations: 2.581 MB / 1.208 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004127/1.153, allocations: 4.361 MB / 1.212 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002881/1.156, allocations: 1.726 MB / 1.214 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/1.168, allocations: 6.318 MB / 1.22 GB, free: 7.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.168, allocations: 0 / 1.22 GB, free: 7.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/1.168, allocations: 0 / 1.22 GB, free: 7.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001114/1.168, allocations: 0 / 1.22 GB, free: 7.508 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.009297/1.177, allocations: 4.19 MB / 1.224 GB, free: 3.242 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.177, allocations: 8.031 kB / 1.224 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/1.179, allocations: 428.4 kB / 1.224 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/1.192, allocations: 12.35 MB / 1.237 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/1.192, allocations: 175.1 kB / 1.237 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004019/1.192, allocations: 232 kB / 1.237 GB, free: 6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00376/1.196, allocations: 2.369 MB / 1.239 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/1.196, allocations: 0 / 1.239 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/1.196, allocations: 72 kB / 1.239 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/1.196, allocations: 39.94 kB / 1.239 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/1.2, allocations: 2.463 MB / 1.242 GB, free: 0.9922 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01976/1.22, allocations: 15.46 MB / 1.257 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/1.223, allocations: 2.004 MB / 1.259 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/1.225, allocations: 1.279 MB / 1.26 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/1.225, allocations: 32.95 kB / 1.26 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001853/1.227, allocations: 1.36 MB / 1.261 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=138): time 2.935e-06/1.227, allocations: 0 / 1.261 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=138): time 0.006562/1.233, allocations: 3.819 MB / 1.265 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002298/1.233, allocations: 362.5 kB / 1.266 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0316/1.265, allocations: 20.6 MB / 1.286 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0007837/1.266, allocations: 85.7 kB / 1.286 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001932/1.268, allocations: 1.163 MB / 1.287 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.269, allocations: 473.4 kB / 1.287 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005687/1.275, allocations: 4.919 MB / 1.292 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000115/1.275, allocations: 305.1 kB / 1.292 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0351/1.31, allocations: 38.69 MB / 1.33 GB, free: 6.027 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03791/1.348, allocations: 40.08 MB / 1.369 GB, free: 13.69 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04538/1.393, allocations: 47.73 MB / 1.416 GB, free: 13.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.424e-05/1.393, allocations: 8 kB / 1.416 GB, free: 13.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09078/1.484, allocations: 90.96 MB / 1.505 GB, free: 2.09 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002525/1.484, allocations: 203.9 kB / 1.505 GB, free: 1.887 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.566e-05/1.484, allocations: 24.12 kB / 1.505 GB, free: 1.863 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/1.485, allocations: 104.7 kB / 1.505 GB, free: 1.758 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/1.488, allocations: 0.6201 MB / 1.506 GB, free: 1.137 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/1.49, allocations: 1.675 MB / 1.507 GB, free: 15.32 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/1.493, allocations: 368 kB / 1.508 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005506/1.494, allocations: 152 kB / 1.508 GB, free: 14.81 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (396): * Single equations (assignments): 355 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003518/1.497, allocations: 2.512 MB / 1.51 GB, free: 12.28 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006778/1.498, allocations: 256.5 kB / 1.51 GB, free: 12.03 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005616/1.503, allocations: 3.485 MB / 1.514 GB, free: 8.52 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/1.503, allocations: 12 kB / 1.514 GB, free: 8.508 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.503, allocations: 0 / 1.514 GB, free: 8.508 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/1.503, allocations: 3.984 kB / 1.514 GB, free: 8.504 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/1.507, allocations: 2.085 MB / 1.516 GB, free: 6.363 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.507, allocations: 0 / 1.516 GB, free: 6.363 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009192/1.507, allocations: 215.6 kB / 1.516 GB, free: 6.152 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004532/1.508, allocations: 72.78 kB / 1.516 GB, free: 6.078 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/1.508, allocations: 43.97 kB / 1.516 GB, free: 6.035 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/1.51, allocations: 1.65 MB / 1.518 GB, free: 4.234 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.51, allocations: 4.062 kB / 1.518 GB, free: 4.23 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005021/1.515, allocations: 3.337 MB / 1.521 GB, free: 0.8594 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.516, allocations: 0.5441 MB / 1.522 GB, free: 300 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/1.517, allocations: 35.94 kB / 1.522 GB, free: 264 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000999/1.518, allocations: 91.91 kB / 1.522 GB, free: 172 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/1.518, allocations: 101.2 kB / 1.522 GB, free: 72 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.518, allocations: 63.97 kB / 1.522 GB, free: 8 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.01063/1.529, allocations: 12.8 MB / 1.534 GB, free: 3.207 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.61e-07/1.529, allocations: 3.938 kB / 1.534 GB, free: 3.203 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005312/1.534, allocations: 1.783 MB / 1.536 GB, free: 1.422 MB / 1.232 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 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002948/1.537, allocations: 1.014 MB / 1.537 GB, free: 0.582 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.6174/2.154, allocations: 50.91 MB / 1.587 GB, free: 422.6 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/2.154, allocations: 4.984 kB / 1.587 GB, free: 422.6 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002797/2.157, allocations: 2.715 MB / 1.59 GB, free: 421.3 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/2.16, allocations: 494.5 kB / 1.59 GB, free: 421.1 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/2.183, allocations: 19.09 MB / 1.609 GB, free: 406.8 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006985/2.19, allocations: 4.649 MB / 1.613 GB, free: 403.2 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00222/2.192, allocations: 0.6428 MB / 1.614 GB, free: 402.8 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/2.193, allocations: 219.4 kB / 1.614 GB, free: 402.6 MB / 1.232 GB Notification: Performance of SimCode: time 2.324e-06/2.193, allocations: 0 / 1.614 GB, free: 402.6 MB / 1.232 GB Notification: Performance of Templates: time 0.1744/2.367, allocations: 60.87 MB / 1.673 GB, free: 345.7 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches