Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001259/0.001259, allocations: 110 kB / 18.93 MB, free: 2.945 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.001424/0.001424, allocations: 183.7 kB / 22.23 MB, free: 5.16 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.316/1.316, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.903/2.903, allocations: 496 MB / 0.7835 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00305/0.00305, allocations: 67.59 kB / 1.138 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3427, allocations: 173.6 MB / 1.307 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01052/0.3533, allocations: 8.63 MB / 1.316 GB, free: 9.078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1828/0.5361, allocations: 160.1 MB / 1.472 GB, free: 8.398 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.5378, allocations: 55.56 kB / 1.472 GB, free: 8.344 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006361/0.5441, allocations: 2.19 MB / 1.474 GB, free: 6.145 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005828/0.55, allocations: 1.28 MB / 1.475 GB, free: 4.863 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004898/0.5549, allocations: 1.537 MB / 1.477 GB, free: 3.332 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007694/0.5626, allocations: 5.761 MB / 1.483 GB, free: 13.56 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.5644, allocations: 0.8066 MB / 1.483 GB, free: 12.7 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003541/0.5679, allocations: 1.734 MB / 1.485 GB, free: 10.96 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/0.571, allocations: 1.689 MB / 1.487 GB, free: 9.266 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006643/0.5717, allocations: 292 kB / 1.487 GB, free: 8.98 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005719/0.5774, allocations: 3.089 MB / 1.49 GB, free: 5.887 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004346/0.5818, allocations: 4.377 MB / 1.494 GB, free: 1.504 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002312/0.5841, allocations: 1.726 MB / 1.496 GB, free: 15.77 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.009635/0.5937, allocations: 6.4 MB / 1.502 GB, free: 9.348 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5937, allocations: 0 / 1.502 GB, free: 9.348 MB / 1.201 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5937, allocations: 0 / 1.502 GB, free: 9.348 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001132/0.5938, allocations: 3.938 kB / 1.502 GB, free: 9.344 MB / 1.201 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.008017/0.6019, allocations: 4.232 MB / 1.506 GB, free: 5.047 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6019, allocations: 12.92 kB / 1.506 GB, free: 5.035 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.6032, allocations: 442.4 kB / 1.507 GB, free: 4.602 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.6164, allocations: 12.28 MB / 1.519 GB, free: 8.242 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.6165, allocations: 171.1 kB / 1.519 GB, free: 8.074 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003988/0.6169, allocations: 232 kB / 1.519 GB, free: 7.848 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00378/0.6207, allocations: 2.381 MB / 1.522 GB, free: 5.406 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.6207, allocations: 0 / 1.522 GB, free: 5.406 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.6209, allocations: 72 kB / 1.522 GB, free: 5.336 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.6209, allocations: 40 kB / 1.522 GB, free: 5.297 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.6246, allocations: 2.459 MB / 1.524 GB, free: 2.832 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01975/0.6444, allocations: 15.52 MB / 1.539 GB, free: 3.051 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/0.6474, allocations: 1.667 MB / 1.541 GB, free: 1.375 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.6487, allocations: 0.9845 MB / 1.542 GB, free: 400 kB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 9.324e-05/0.6488, allocations: 37.09 kB / 1.542 GB, free: 364 kB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001957/0.6508, allocations: 1.362 MB / 1.543 GB, free: 14.97 MB / 1.248 GB Notification: Performance of pre-optimization done (n=138): time 2.755e-06/0.6508, allocations: 0 / 1.543 GB, free: 14.97 MB / 1.248 GB Notification: Performance of matching and sorting (n=138): time 0.00678/0.6576, allocations: 3.757 MB / 1.547 GB, free: 11.2 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002527/0.6578, allocations: 362.5 kB / 1.547 GB, free: 10.8 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03061/0.6884, allocations: 20.6 MB / 1.567 GB, free: 6.172 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005917/0.689, allocations: 85.7 kB / 1.567 GB, free: 6.082 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.6907, allocations: 1.188 MB / 1.569 GB, free: 4.887 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007154/0.6915, allocations: 491.9 kB / 1.569 GB, free: 4.402 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005233/0.6967, allocations: 5.011 MB / 1.574 GB, free: 15.37 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6968, allocations: 309.1 kB / 1.574 GB, free: 15.06 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.8307/1.528, allocations: 38.67 MB / 1.612 GB, free: 287.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03126/1.559, allocations: 40.07 MB / 1.651 GB, free: 262.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03049/1.589, allocations: 47.96 MB / 1.698 GB, free: 216.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.682e-05/1.589, allocations: 4 kB / 1.698 GB, free: 216.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06366/1.653, allocations: 91.44 MB / 1.787 GB, free: 126.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002214/1.653, allocations: 203.7 kB / 1.787 GB, free: 126.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-05/1.653, allocations: 20 kB / 1.787 GB, free: 126.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005935/1.654, allocations: 116.3 kB / 1.788 GB, free: 126 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/1.656, allocations: 0.6123 MB / 1.788 GB, free: 125.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/1.658, allocations: 1.563 MB / 1.79 GB, free: 123.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/1.661, allocations: 373.3 kB / 1.79 GB, free: 123.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/1.661, allocations: 157 kB / 1.79 GB, free: 123.4 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.002089/1.663, allocations: 2.509 MB / 1.793 GB, free: 120.9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000473/1.664, allocations: 280.1 kB / 1.793 GB, free: 120.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004147/1.668, allocations: 3.49 MB / 1.796 GB, free: 117.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/1.668, allocations: 16 kB / 1.796 GB, free: 117.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.668, allocations: 3.938 kB / 1.796 GB, free: 117.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.668, allocations: 4.922 kB / 1.796 GB, free: 117.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/1.67, allocations: 2.067 MB / 1.798 GB, free: 115.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.67, allocations: 0 / 1.798 GB, free: 115.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/1.671, allocations: 203.7 kB / 1.799 GB, free: 115.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/1.671, allocations: 72.78 kB / 1.799 GB, free: 115 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/1.671, allocations: 46.72 kB / 1.799 GB, free: 115 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/1.673, allocations: 1.554 MB / 1.8 GB, free: 113.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.673, allocations: 0 / 1.8 GB, free: 113.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/1.676, allocations: 3.362 MB / 1.803 GB, free: 110 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008777/1.677, allocations: 489.9 kB / 1.804 GB, free: 109.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/1.677, allocations: 42.22 kB / 1.804 GB, free: 109.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009197/1.678, allocations: 87.91 kB / 1.804 GB, free: 109.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.678, allocations: 106.3 kB / 1.804 GB, free: 109.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.679, allocations: 71.91 kB / 1.804 GB, free: 109.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007276/1.686, allocations: 12.8 MB / 1.817 GB, free: 96.46 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.71e-07/1.686, allocations: 0 / 1.817 GB, free: 96.46 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004373/1.69, allocations: 1.801 MB / 1.818 GB, free: 94.75 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.002977/1.693, allocations: 1.031 MB / 1.819 GB, free: 94 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02773/1.721, allocations: 41.27 MB / 1.86 GB, free: 52.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.721, allocations: 0 / 1.86 GB, free: 52.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002416/1.723, allocations: 1.879 MB / 1.862 GB, free: 50.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/1.726, allocations: 490.4 kB / 1.862 GB, free: 50.34 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.748, allocations: 19.78 MB / 1.881 GB, free: 30.52 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00515/1.753, allocations: 4.636 MB / 1.886 GB, free: 25.86 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002084/1.756, allocations: 0.6529 MB / 1.887 GB, free: 25.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000823/1.756, allocations: 219.4 kB / 1.887 GB, free: 24.99 MB / 1.295 GB Notification: Performance of SimCode: time 8.21e-07/1.756, allocations: 0 / 1.887 GB, free: 24.99 MB / 1.295 GB Notification: Performance of Templates: time 0.114/1.87, allocations: 64.28 MB / 1.95 GB, free: 8.973 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.878717890009284]