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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002645/0.002645, allocations: 211.5 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 475.9 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 68.5 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3658, allocations: 170 MB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.011/0.3768, allocations: 7.528 MB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2006/0.5774, allocations: 140.7 MB / 1.428 GB, free: 7.07 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002497/0.5799, allocations: 47.62 kB / 1.428 GB, free: 7.023 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006819/0.5867, allocations: 2.1 MB / 1.43 GB, free: 4.914 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005021/0.5917, allocations: 1.294 MB / 1.431 GB, free: 3.621 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004481/0.5962, allocations: 1.504 MB / 1.433 GB, free: 2.113 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007905/0.6041, allocations: 5.698 MB / 1.438 GB, free: 12.4 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.6059, allocations: 0.7831 MB / 1.439 GB, free: 11.57 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003308/0.6092, allocations: 1.773 MB / 1.441 GB, free: 9.793 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.6125, allocations: 1.584 MB / 1.442 GB, free: 8.203 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001151/0.6137, allocations: 295.9 kB / 1.443 GB, free: 7.914 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006953/0.6206, allocations: 2.824 MB / 1.445 GB, free: 5.086 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00554/0.6262, allocations: 4.366 MB / 1.45 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003625/0.6298, allocations: 1.392 MB / 1.451 GB, free: 15.32 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.6424, allocations: 6.435 MB / 1.457 GB, free: 8.859 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6424, allocations: 0 / 1.457 GB, free: 8.859 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6424, allocations: 0 / 1.457 GB, free: 8.859 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001451/0.6425, allocations: 0 / 1.457 GB, free: 8.859 MB / 1.154 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.009842/0.6524, allocations: 4.239 MB / 1.461 GB, free: 4.555 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.6524, allocations: 8.031 kB / 1.461 GB, free: 4.547 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/0.6551, allocations: 0.5101 MB / 1.462 GB, free: 4.035 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01757/0.6727, allocations: 12.3 MB / 1.474 GB, free: 7.66 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.6729, allocations: 171.1 kB / 1.474 GB, free: 7.492 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005633/0.6735, allocations: 236 kB / 1.474 GB, free: 7.262 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004955/0.6784, allocations: 2.781 MB / 1.477 GB, free: 4.297 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.6785, allocations: 0 / 1.477 GB, free: 4.297 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.6786, allocations: 68 kB / 1.477 GB, free: 4.23 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.6787, allocations: 36 kB / 1.477 GB, free: 4.195 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/0.6829, allocations: 2.344 MB / 1.479 GB, free: 1.84 MB / 1.17 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.02351/0.7064, allocations: 14.09 MB / 1.493 GB, free: 3.637 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003528/0.7099, allocations: 1.582 MB / 1.495 GB, free: 2.043 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.7114, allocations: 0.9159 MB / 1.496 GB, free: 1.121 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.7115, allocations: 28.97 kB / 1.496 GB, free: 1.094 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002596/0.7141, allocations: 1.594 MB / 1.497 GB, free: 15.39 MB / 1.201 GB Notification: Performance of pre-optimization done (n=138): time 3.476e-06/0.7141, allocations: 0 / 1.497 GB, free: 15.39 MB / 1.201 GB Notification: Performance of matching and sorting (n=138): time 0.00757/0.7217, allocations: 3.37 MB / 1.5 GB, free: 12 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002996/0.722, allocations: 342.5 kB / 1.501 GB, free: 11.61 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03503/0.757, allocations: 20.55 MB / 1.521 GB, free: 7.039 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0006659/0.7577, allocations: 85.7 kB / 1.521 GB, free: 6.949 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00202/0.7597, allocations: 1.191 MB / 1.522 GB, free: 5.746 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007357/0.7604, allocations: 495.8 kB / 1.523 GB, free: 5.258 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005309/0.7658, allocations: 5.015 MB / 1.527 GB, free: 224 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002639/0.766, allocations: 305.1 kB / 1.528 GB, free: 15.92 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04216/0.8082, allocations: 38.61 MB / 1.565 GB, free: 9.293 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0451/0.8533, allocations: 40.13 MB / 1.605 GB, free: 0.8672 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8825/1.736, allocations: 47.46 MB / 1.651 GB, free: 281.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.898e-05/1.736, allocations: 6.719 kB / 1.651 GB, free: 281.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.07419/1.81, allocations: 91.11 MB / 1.74 GB, free: 193.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002329/1.81, allocations: 184.6 kB / 1.74 GB, free: 193.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.987e-05/1.81, allocations: 16 kB / 1.74 GB, free: 193.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/1.811, allocations: 112.4 kB / 1.74 GB, free: 193.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/1.814, allocations: 0.6161 MB / 1.741 GB, free: 192.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/1.815, allocations: 1.534 MB / 1.742 GB, free: 191 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/1.819, allocations: 363.9 kB / 1.743 GB, free: 190.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005829/1.82, allocations: 154.6 kB / 1.743 GB, free: 190.7 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.002789/1.822, allocations: 2.489 MB / 1.745 GB, free: 188.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006909/1.823, allocations: 265.3 kB / 1.745 GB, free: 188.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004433/1.828, allocations: 3.003 MB / 1.748 GB, free: 185.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/1.828, allocations: 12 kB / 1.748 GB, free: 185.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/1.828, allocations: 5.844 kB / 1.748 GB, free: 185.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/1.828, allocations: 11.91 kB / 1.748 GB, free: 185.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/1.83, allocations: 1.564 MB / 1.75 GB, free: 183.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.83, allocations: 0 / 1.75 GB, free: 183.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008513/1.831, allocations: 207.7 kB / 1.75 GB, free: 183.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004282/1.831, allocations: 72.61 kB / 1.75 GB, free: 183.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/1.831, allocations: 43.91 kB / 1.75 GB, free: 183.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/1.833, allocations: 1.538 MB / 1.752 GB, free: 181.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.833, allocations: 3.984 kB / 1.752 GB, free: 181.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/1.837, allocations: 2.867 MB / 1.755 GB, free: 178.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.838, allocations: 492.6 kB / 1.755 GB, free: 178.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003888/1.839, allocations: 35.95 kB / 1.755 GB, free: 178.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.84, allocations: 83.91 kB / 1.755 GB, free: 178.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/1.84, allocations: 105.1 kB / 1.755 GB, free: 178.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.84, allocations: 67.97 kB / 1.755 GB, free: 178.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008364/1.848, allocations: 12.75 MB / 1.768 GB, free: 165.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 6.71e-07/1.848, allocations: 3.875 kB / 1.768 GB, free: 165.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005284/1.854, allocations: 1.812 MB / 1.77 GB, free: 163.7 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.003596/1.857, allocations: 1.063 MB / 1.771 GB, free: 163 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.03053/1.888, allocations: 40.95 MB / 1.811 GB, free: 122.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.888, allocations: 0 / 1.811 GB, free: 122.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002347/1.89, allocations: 1.616 MB / 1.812 GB, free: 120.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/1.893, allocations: 474.4 kB / 1.813 GB, free: 120 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/1.916, allocations: 20.23 MB / 1.832 GB, free: 99.69 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004489/1.92, allocations: 4.16 MB / 1.836 GB, free: 95.51 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002174/1.922, allocations: 0.6423 MB / 1.837 GB, free: 94.88 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006055/1.923, allocations: 219.4 kB / 1.837 GB, free: 94.66 MB / 1.295 GB Notification: Performance of SimCode: time 1.252e-06/1.923, allocations: 0 / 1.837 GB, free: 94.66 MB / 1.295 GB Notification: Performance of Templates: time 0.1035/2.026, allocations: 68.14 MB / 1.904 GB, free: 26.87 MB / 1.295 GB " [Timeout remaining time 297] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 12.42606782913208]