Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 190.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 63.91 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/0.781, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01304/0.794, allocations: 8.619 MB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.204/0.998, allocations: 160.1 MB / 1.439 GB, free: 11.23 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.9996, allocations: 43.75 kB / 1.439 GB, free: 11.19 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005128/1.005, allocations: 2.019 MB / 1.441 GB, free: 9.164 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003501/1.008, allocations: 1.271 MB / 1.442 GB, free: 7.891 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003577/1.012, allocations: 1.477 MB / 1.443 GB, free: 6.422 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006366/1.018, allocations: 5.368 MB / 1.449 GB, free: 1.039 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/1.02, allocations: 0.8175 MB / 1.45 GB, free: 180 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/1.023, allocations: 1.71 MB / 1.451 GB, free: 14.46 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/1.026, allocations: 1.666 MB / 1.453 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000499/1.026, allocations: 296 kB / 1.453 GB, free: 12.5 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/1.031, allocations: 2.657 MB / 1.456 GB, free: 9.84 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.00423/1.035, allocations: 4.373 MB / 1.46 GB, free: 5.461 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/1.037, allocations: 1.722 MB / 1.462 GB, free: 3.73 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.009126/1.046, allocations: 6.338 MB / 1.468 GB, free: 13.37 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.046, allocations: 4 kB / 1.468 GB, free: 13.37 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.262e-06/1.047, allocations: 3.938 kB / 1.468 GB, free: 13.36 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.272e-05/1.047, allocations: 0 / 1.468 GB, free: 13.36 MB / 1.17 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.008804/1.055, allocations: 4.311 MB / 1.472 GB, free: 8.969 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.055, allocations: 12.03 kB / 1.472 GB, free: 8.957 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/1.057, allocations: 434.5 kB / 1.472 GB, free: 8.531 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/1.072, allocations: 12.36 MB / 1.485 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/1.072, allocations: 183.1 kB / 1.485 GB, free: 11.93 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003717/1.073, allocations: 232 kB / 1.485 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004187/1.077, allocations: 2.377 MB / 1.487 GB, free: 9.262 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/1.077, allocations: 0 / 1.487 GB, free: 9.262 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/1.077, allocations: 72 kB / 1.487 GB, free: 9.191 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/1.077, allocations: 36 kB / 1.487 GB, free: 9.156 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004166/1.081, allocations: 2.467 MB / 1.49 GB, free: 6.684 MB / 1.186 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.02232/1.104, allocations: 15.5 MB / 1.505 GB, free: 6.941 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003399/1.107, allocations: 1.658 MB / 1.507 GB, free: 5.281 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/1.109, allocations: 0.9844 MB / 1.508 GB, free: 4.293 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/1.109, allocations: 37.11 kB / 1.508 GB, free: 4.258 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002227/1.111, allocations: 1.365 MB / 1.509 GB, free: 2.875 MB / 1.201 GB Notification: Performance of pre-optimization done (n=138): time 2.796e-06/1.111, allocations: 0 / 1.509 GB, free: 2.875 MB / 1.201 GB Notification: Performance of matching and sorting (n=138): time 0.007792/1.119, allocations: 3.836 MB / 1.513 GB, free: 15 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003906/1.119, allocations: 354.5 kB / 1.513 GB, free: 14.6 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03355/1.153, allocations: 20.61 MB / 1.533 GB, free: 9.973 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005312/1.153, allocations: 85.7 kB / 1.533 GB, free: 9.883 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001501/1.155, allocations: 1.182 MB / 1.534 GB, free: 8.691 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005701/1.155, allocations: 491.9 kB / 1.535 GB, free: 8.207 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004654/1.16, allocations: 5.015 MB / 1.54 GB, free: 3.168 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.16, allocations: 305.1 kB / 1.54 GB, free: 2.867 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04061/1.201, allocations: 38.68 MB / 1.578 GB, free: 12.18 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.724/1.925, allocations: 40.07 MB / 1.617 GB, free: 317.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03207/1.957, allocations: 47.73 MB / 1.663 GB, free: 278.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.848e-05/1.957, allocations: 9.531 kB / 1.664 GB, free: 278.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06775/2.025, allocations: 90.99 MB / 1.752 GB, free: 189.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/2.025, allocations: 201.6 kB / 1.753 GB, free: 189.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/2.025, allocations: 16 kB / 1.753 GB, free: 189.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/2.025, allocations: 112.9 kB / 1.753 GB, free: 189 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/2.028, allocations: 0.6161 MB / 1.753 GB, free: 188.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/2.03, allocations: 1.677 MB / 1.755 GB, free: 186.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/2.033, allocations: 378.9 kB / 1.755 GB, free: 186.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/2.034, allocations: 155.9 kB / 1.755 GB, free: 186.3 MB / 1.295 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.002424/2.036, allocations: 2.509 MB / 1.758 GB, free: 183.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/2.037, allocations: 272 kB / 1.758 GB, free: 183.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004605/2.041, allocations: 3.495 MB / 1.762 GB, free: 180.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/2.041, allocations: 12 kB / 1.762 GB, free: 180.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/2.041, allocations: 3.938 kB / 1.762 GB, free: 180.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/2.041, allocations: 7.969 kB / 1.762 GB, free: 180.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/2.044, allocations: 2.084 MB / 1.764 GB, free: 178.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/2.044, allocations: 4 kB / 1.764 GB, free: 178.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/2.045, allocations: 207.7 kB / 1.764 GB, free: 177.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/2.045, allocations: 68.8 kB / 1.764 GB, free: 177.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/2.045, allocations: 43.97 kB / 1.764 GB, free: 177.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/2.047, allocations: 1.663 MB / 1.766 GB, free: 176 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/2.047, allocations: 0 / 1.766 GB, free: 176 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004582/2.051, allocations: 3.367 MB / 1.769 GB, free: 172.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/2.053, allocations: 0.5682 MB / 1.769 GB, free: 172.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/2.053, allocations: 28 kB / 1.769 GB, free: 172.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/2.054, allocations: 91.91 kB / 1.77 GB, free: 172 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/2.054, allocations: 97.17 kB / 1.77 GB, free: 171.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/2.054, allocations: 71.91 kB / 1.77 GB, free: 171.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007705/2.062, allocations: 12.8 MB / 1.782 GB, free: 159 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.51e-07/2.062, allocations: 0 / 1.782 GB, free: 159 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004943/2.067, allocations: 1.801 MB / 1.784 GB, free: 157.3 MB / 1.295 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.003175/2.07, allocations: 1.015 MB / 1.785 GB, free: 156.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02796/2.098, allocations: 41.26 MB / 1.825 GB, free: 115.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/2.098, allocations: 4 kB / 1.825 GB, free: 115.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/2.1, allocations: 1.877 MB / 1.827 GB, free: 113.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/2.103, allocations: 0.4914 MB / 1.828 GB, free: 112.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/2.122, allocations: 19.79 MB / 1.847 GB, free: 93.03 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003757/2.126, allocations: 4.64 MB / 1.851 GB, free: 88.36 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001737/2.128, allocations: 0.6409 MB / 1.852 GB, free: 87.71 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/2.128, allocations: 219.4 kB / 1.852 GB, free: 87.5 MB / 1.295 GB Notification: Performance of SimCode: time 8.02e-07/2.128, allocations: 4 kB / 1.852 GB, free: 87.5 MB / 1.295 GB Notification: Performance of Templates: time 0.09425/2.223, allocations: 63.86 MB / 1.915 GB, free: 23.88 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.371799125801772]