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.001278/0.001278, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001492/0.001492, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.636/2.636, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 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.002168/0.002168, allocations: 71.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3174, allocations: 169.9 MB / 1.117 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01045/0.3279, allocations: 7.548 MB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.7949/1.123, allocations: 140.7 MB / 1.262 GB, free: 12.2 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/1.125, allocations: 54.78 kB / 1.262 GB, free: 12.17 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006888/1.131, allocations: 2.093 MB / 1.264 GB, free: 11.33 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004698/1.136, allocations: 1.296 MB / 1.266 GB, free: 10.56 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00458/1.141, allocations: 1.506 MB / 1.267 GB, free: 9.777 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00826/1.149, allocations: 5.686 MB / 1.273 GB, free: 7.043 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/1.151, allocations: 0.7822 MB / 1.273 GB, free: 6.586 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003902/1.155, allocations: 1.769 MB / 1.275 GB, free: 5.832 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/1.158, allocations: 1.59 MB / 1.277 GB, free: 5.211 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000944/1.159, allocations: 293.1 kB / 1.277 GB, free: 5.211 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007105/1.166, allocations: 2.828 MB / 1.28 GB, free: 4.547 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00567/1.172, allocations: 4.376 MB / 1.284 GB, free: 3.383 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00335/1.175, allocations: 1.38 MB / 1.285 GB, free: 2.59 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/1.188, allocations: 6.445 MB / 1.292 GB, free: 15.64 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.188, allocations: 0 / 1.292 GB, free: 15.64 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.694e-06/1.188, allocations: 1 kB / 1.292 GB, free: 15.64 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001478/1.188, allocations: 0 / 1.292 GB, free: 15.64 MB / 1.139 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.01095/1.199, allocations: 4.24 MB / 1.296 GB, free: 12.66 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.199, allocations: 10.19 kB / 1.296 GB, free: 12.66 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002722/1.202, allocations: 0.5108 MB / 1.296 GB, free: 12.4 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/1.216, allocations: 12.3 MB / 1.308 GB, free: 4.789 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/1.216, allocations: 179.1 kB / 1.308 GB, free: 4.613 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004428/1.217, allocations: 232 kB / 1.309 GB, free: 4.387 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004545/1.221, allocations: 2.777 MB / 1.311 GB, free: 1.426 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/1.221, allocations: 0 / 1.311 GB, free: 1.426 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/1.222, allocations: 67.98 kB / 1.311 GB, free: 1.359 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/1.222, allocations: 43.94 kB / 1.311 GB, free: 1.316 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003926/1.225, allocations: 2.337 MB / 1.314 GB, free: 14.97 MB / 1.154 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.02188/1.247, allocations: 14.09 MB / 1.328 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/1.251, allocations: 1.587 MB / 1.329 GB, free: 15.18 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/1.252, allocations: 0.9119 MB / 1.33 GB, free: 14.26 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.693e-05/1.252, allocations: 32.97 kB / 1.33 GB, free: 14.23 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/1.255, allocations: 1.59 MB / 1.332 GB, free: 12.54 MB / 1.17 GB Notification: Performance of pre-optimization done (n=138): time 3.346e-06/1.255, allocations: 4 kB / 1.332 GB, free: 12.53 MB / 1.17 GB Notification: Performance of matching and sorting (n=138): time 0.00748/1.262, allocations: 3.37 MB / 1.335 GB, free: 9.133 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003266/1.262, allocations: 341.6 kB / 1.335 GB, free: 8.75 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03433/1.297, allocations: 20.55 MB / 1.355 GB, free: 4.176 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0008204/1.298, allocations: 89.64 kB / 1.355 GB, free: 4.082 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.3, allocations: 1.195 MB / 1.356 GB, free: 2.875 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007119/1.3, allocations: 487.9 kB / 1.357 GB, free: 2.395 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005056/1.305, allocations: 5.019 MB / 1.362 GB, free: 13.35 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.305, allocations: 301.1 kB / 1.362 GB, free: 13.05 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0396/1.345, allocations: 38.61 MB / 1.4 GB, free: 6.43 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04495/1.39, allocations: 40.13 MB / 1.439 GB, free: 14 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0552/1.445, allocations: 47.45 MB / 1.485 GB, free: 14.06 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.861e-05/1.445, allocations: 11.94 kB / 1.485 GB, free: 14.05 MB / 1.326 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1079/1.553, allocations: 91.11 MB / 1.574 GB, free: 2.52 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002827/1.553, allocations: 173.6 kB / 1.575 GB, free: 2.344 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.022e-05/1.554, allocations: 20 kB / 1.575 GB, free: 2.324 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006898/1.554, allocations: 123.9 kB / 1.575 GB, free: 2.207 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/1.557, allocations: 0.6084 MB / 1.575 GB, free: 1.598 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/1.56, allocations: 1.531 MB / 1.577 GB, free: 15.96 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003514/1.563, allocations: 365.4 kB / 1.577 GB, free: 15.6 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005736/1.564, allocations: 155.9 kB / 1.577 GB, free: 15.45 MB / 1.42 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.003824/1.568, allocations: 2.488 MB / 1.58 GB, free: 12.94 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007883/1.568, allocations: 270.1 kB / 1.58 GB, free: 12.68 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005823/1.574, allocations: 3.009 MB / 1.583 GB, free: 9.648 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/1.574, allocations: 16 kB / 1.583 GB, free: 9.633 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.574, allocations: 4.734 kB / 1.583 GB, free: 9.629 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/1.574, allocations: 3.984 kB / 1.583 GB, free: 9.625 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/1.577, allocations: 1.573 MB / 1.584 GB, free: 8.016 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.577, allocations: 0 / 1.584 GB, free: 8.016 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/1.578, allocations: 215.4 kB / 1.585 GB, free: 7.812 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/1.579, allocations: 72.78 kB / 1.585 GB, free: 7.738 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/1.579, allocations: 47.97 kB / 1.585 GB, free: 7.691 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/1.581, allocations: 1.516 MB / 1.586 GB, free: 6.066 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.581, allocations: 4.031 kB / 1.586 GB, free: 6.062 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005486/1.587, allocations: 2.868 MB / 1.589 GB, free: 3.156 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.588, allocations: 485.7 kB / 1.589 GB, free: 2.68 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003803/1.588, allocations: 35.95 kB / 1.59 GB, free: 2.645 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.59, allocations: 91.91 kB / 1.59 GB, free: 2.555 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/1.59, allocations: 109 kB / 1.59 GB, free: 2.445 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/1.59, allocations: 63.97 kB / 1.59 GB, free: 2.383 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.01366/1.604, allocations: 12.75 MB / 1.602 GB, free: 5.625 MB / 1.436 GB Notification: Performance of sort global known variables: time 2.31e-07/1.604, allocations: 0 / 1.602 GB, free: 5.625 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.006684/1.61, allocations: 1.817 MB / 1.604 GB, free: 3.809 MB / 1.436 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.004005/1.614, allocations: 1.058 MB / 1.605 GB, free: 2.973 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.04569/1.66, allocations: 40.96 MB / 1.645 GB, free: 9.969 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.66, allocations: 4.375 kB / 1.645 GB, free: 9.965 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.002913/1.663, allocations: 1.604 MB / 1.647 GB, free: 8.328 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.666, allocations: 479.2 kB / 1.647 GB, free: 7.879 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02943/1.695, allocations: 20.24 MB / 1.667 GB, free: 3.578 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006763/1.702, allocations: 4.157 MB / 1.671 GB, free: 15.39 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.002615/1.704, allocations: 0.6438 MB / 1.672 GB, free: 14.74 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006683/1.705, allocations: 216.4 kB / 1.672 GB, free: 14.53 MB / 1.514 GB Notification: Performance of SimCode: time 1.222e-06/1.705, allocations: 0 / 1.672 GB, free: 14.53 MB / 1.514 GB Notification: Performance of Templates: time 0.1225/1.827, allocations: 61.67 MB / 1.732 GB, free: 1.188 MB / 1.561 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 ida -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/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.278362783021294]