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.001367/0.001367, allocations: 110.6 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.001441/0.001441, allocations: 194.2 kB / 22.17 MB, free: 5.652 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.441/1.441, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.772/2.772, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.001978/0.001978, allocations: 71.88 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9171/0.9191, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01161/0.9307, allocations: 8.6 MB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2122/1.143, allocations: 160.1 MB / 1.439 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/1.145, allocations: 43.81 kB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006969/1.152, allocations: 2.023 MB / 1.441 GB, free: 9.176 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005076/1.157, allocations: 1.272 MB / 1.442 GB, free: 7.902 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004623/1.162, allocations: 1.477 MB / 1.443 GB, free: 6.43 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.008097/1.17, allocations: 5.363 MB / 1.449 GB, free: 1.055 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/1.173, allocations: 0.8097 MB / 1.45 GB, free: 204 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/1.176, allocations: 1.718 MB / 1.451 GB, free: 14.48 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/1.179, allocations: 1.67 MB / 1.453 GB, free: 12.8 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0008307/1.18, allocations: 288 kB / 1.453 GB, free: 12.52 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005571/1.186, allocations: 2.661 MB / 1.456 GB, free: 9.855 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.004954/1.191, allocations: 4.373 MB / 1.46 GB, free: 5.477 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002917/1.194, allocations: 1.714 MB / 1.462 GB, free: 3.754 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01187/1.206, allocations: 6.346 MB / 1.468 GB, free: 13.39 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.206, allocations: 0 / 1.468 GB, free: 13.39 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.663e-06/1.206, allocations: 0 / 1.468 GB, free: 13.39 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.000153/1.206, allocations: 0 / 1.468 GB, free: 13.39 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.01015/1.216, allocations: 4.315 MB / 1.472 GB, free: 8.988 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.216, allocations: 12.03 kB / 1.472 GB, free: 8.977 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/1.218, allocations: 442.4 kB / 1.472 GB, free: 8.543 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0166/1.234, allocations: 12.36 MB / 1.485 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/1.234, allocations: 171.1 kB / 1.485 GB, free: 11.95 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005974/1.235, allocations: 236 kB / 1.485 GB, free: 11.72 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005159/1.24, allocations: 2.383 MB / 1.487 GB, free: 9.281 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/1.24, allocations: 4 kB / 1.487 GB, free: 9.277 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/1.24, allocations: 68 kB / 1.487 GB, free: 9.211 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/1.24, allocations: 40 kB / 1.487 GB, free: 9.172 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004475/1.245, allocations: 2.455 MB / 1.49 GB, free: 6.711 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.02557/1.271, allocations: 15.5 MB / 1.505 GB, free: 6.965 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/1.274, allocations: 1.668 MB / 1.507 GB, free: 5.297 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/1.276, allocations: 0.9805 MB / 1.508 GB, free: 4.312 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/1.276, allocations: 41.02 kB / 1.508 GB, free: 4.277 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002129/1.278, allocations: 1.369 MB / 1.509 GB, free: 2.891 MB / 1.201 GB Notification: Performance of pre-optimization done (n=138): time 3.396e-06/1.278, allocations: 0 / 1.509 GB, free: 2.891 MB / 1.201 GB Notification: Performance of matching and sorting (n=138): time 0.00765/1.286, allocations: 3.825 MB / 1.513 GB, free: 15.02 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002994/1.286, allocations: 366.5 kB / 1.513 GB, free: 14.62 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03304/1.319, allocations: 20.6 MB / 1.533 GB, free: 9.996 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0007285/1.32, allocations: 89.7 kB / 1.533 GB, free: 9.902 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001889/1.322, allocations: 1.184 MB / 1.534 GB, free: 8.711 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007808/1.322, allocations: 495.9 kB / 1.535 GB, free: 8.223 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005392/1.328, allocations: 5.015 MB / 1.54 GB, free: 3.184 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002006/1.328, allocations: 301.1 kB / 1.54 GB, free: 2.887 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0422/1.37, allocations: 38.68 MB / 1.578 GB, free: 12.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7869/2.157, allocations: 40.07 MB / 1.617 GB, free: 317.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03429/2.191, allocations: 47.74 MB / 1.664 GB, free: 278.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.897e-05/2.191, allocations: 4 kB / 1.664 GB, free: 278.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06741/2.259, allocations: 91 MB / 1.752 GB, free: 189.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002168/2.259, allocations: 197.6 kB / 1.753 GB, free: 189.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.885e-05/2.259, allocations: 20 kB / 1.753 GB, free: 189.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/2.26, allocations: 108.9 kB / 1.753 GB, free: 189 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/2.262, allocations: 0.6123 MB / 1.753 GB, free: 188.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/2.264, allocations: 1.673 MB / 1.755 GB, free: 186.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/2.267, allocations: 380.3 kB / 1.755 GB, free: 186.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/2.267, allocations: 158 kB / 1.755 GB, free: 186.2 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.00212/2.269, allocations: 2.507 MB / 1.758 GB, free: 183.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/2.269, allocations: 270.1 kB / 1.758 GB, free: 183.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/2.274, allocations: 3.498 MB / 1.762 GB, free: 180.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/2.274, allocations: 16 kB / 1.762 GB, free: 180.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/2.274, allocations: 3.938 kB / 1.762 GB, free: 180.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/2.274, allocations: 3.984 kB / 1.762 GB, free: 180.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/2.276, allocations: 2.082 MB / 1.764 GB, free: 178.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/2.276, allocations: 3.984 kB / 1.764 GB, free: 178.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008624/2.277, allocations: 207.7 kB / 1.764 GB, free: 177.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/2.277, allocations: 72.78 kB / 1.764 GB, free: 177.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.104e-05/2.278, allocations: 39.97 kB / 1.764 GB, free: 177.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/2.279, allocations: 1.665 MB / 1.766 GB, free: 175.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/2.279, allocations: 0 / 1.766 GB, free: 175.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004049/2.283, allocations: 3.371 MB / 1.769 GB, free: 172.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/2.284, allocations: 0.5565 MB / 1.769 GB, free: 172.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/2.284, allocations: 35.98 kB / 1.769 GB, free: 172 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/2.285, allocations: 87.91 kB / 1.77 GB, free: 171.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/2.286, allocations: 101.2 kB / 1.77 GB, free: 171.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/2.286, allocations: 73.78 kB / 1.77 GB, free: 171.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007524/2.293, allocations: 12.8 MB / 1.782 GB, free: 159 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.2e-07/2.293, allocations: 0 / 1.782 GB, free: 159 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004472/2.298, allocations: 1.794 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.003105/2.301, allocations: 1.026 MB / 1.785 GB, free: 156.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02828/2.329, allocations: 41.27 MB / 1.825 GB, free: 115.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/2.329, allocations: 0 / 1.825 GB, free: 115.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002192/2.331, allocations: 1.873 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.002254/2.334, allocations: 0.4924 MB / 1.828 GB, free: 112.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/2.355, allocations: 19.78 MB / 1.847 GB, free: 93.01 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00398/2.359, allocations: 4.635 MB / 1.851 GB, free: 88.34 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001905/2.36, allocations: 0.6488 MB / 1.852 GB, free: 87.69 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006058/2.361, allocations: 219.4 kB / 1.852 GB, free: 87.48 MB / 1.295 GB Notification: Performance of SimCode: time 1.453e-06/2.361, allocations: 4 kB / 1.852 GB, free: 87.48 MB / 1.295 GB Notification: Performance of Templates: time 0.09999/2.461, allocations: 63.86 MB / 1.915 GB, free: 23.87 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 cvode -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.622251980006695]