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.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.001743/0.001743, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002141/0.002141, allocations: 212.4 kB / 22.99 MB, free: 4.98 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.121/3.121, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: 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.002054/0.002054, allocations: 65.94 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2977, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01087/0.3086, allocations: 7.549 MB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1829/0.4915, allocations: 140.7 MB / 1.472 GB, free: 12.18 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.4928, allocations: 51.62 kB / 1.472 GB, free: 12.12 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005108/0.498, allocations: 2.14 MB / 1.474 GB, free: 9.977 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.5014, allocations: 1.299 MB / 1.475 GB, free: 8.676 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.5048, allocations: 1.527 MB / 1.477 GB, free: 7.156 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006368/0.5112, allocations: 5.777 MB / 1.482 GB, free: 1.367 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.5127, allocations: 0.8105 MB / 1.483 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.5153, allocations: 1.777 MB / 1.485 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.5175, allocations: 1.682 MB / 1.487 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004603/0.518, allocations: 292 kB / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004883/0.5229, allocations: 3.039 MB / 1.49 GB, free: 9.711 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004021/0.5269, allocations: 4.373 MB / 1.494 GB, free: 5.332 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.5287, allocations: 1.38 MB / 1.495 GB, free: 3.945 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.5388, allocations: 6.455 MB / 1.502 GB, free: 13.47 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5388, allocations: 0 / 1.502 GB, free: 13.47 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5388, allocations: 7.875 kB / 1.502 GB, free: 13.46 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.000224/0.539, allocations: 0 / 1.502 GB, free: 13.46 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.009394/0.5484, allocations: 4.239 MB / 1.506 GB, free: 9.156 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5485, allocations: 12.03 kB / 1.506 GB, free: 9.145 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.5511, allocations: 0.5101 MB / 1.506 GB, free: 8.633 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01453/0.5656, allocations: 12.3 MB / 1.518 GB, free: 12.26 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.5658, allocations: 175.1 kB / 1.519 GB, free: 12.09 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004231/0.5662, allocations: 232 kB / 1.519 GB, free: 11.86 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004361/0.5705, allocations: 2.773 MB / 1.521 GB, free: 8.902 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.5706, allocations: 3.938 kB / 1.522 GB, free: 8.898 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.5708, allocations: 68 kB / 1.522 GB, free: 8.832 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.5708, allocations: 36 kB / 1.522 GB, free: 8.797 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/0.5748, allocations: 2.34 MB / 1.524 GB, free: 6.445 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0206/0.5954, allocations: 14.1 MB / 1.538 GB, free: 8.238 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/0.5985, allocations: 1.596 MB / 1.539 GB, free: 6.633 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.6, allocations: 0.9119 MB / 1.54 GB, free: 5.707 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 9.013e-05/0.6001, allocations: 20.98 kB / 1.54 GB, free: 5.688 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/0.6023, allocations: 1.606 MB / 1.542 GB, free: 3.98 MB / 1.232 GB Notification: Performance of pre-optimization done (n=138): time 3.186e-06/0.6023, allocations: 0 / 1.542 GB, free: 3.98 MB / 1.232 GB Notification: Performance of matching and sorting (n=138): time 0.007066/0.6094, allocations: 3.378 MB / 1.545 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002783/0.6096, allocations: 338.5 kB / 1.545 GB, free: 200 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0337/0.6434, allocations: 20.55 MB / 1.565 GB, free: 11.62 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005416/0.6439, allocations: 85.7 kB / 1.565 GB, free: 11.53 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.6454, allocations: 1.188 MB / 1.567 GB, free: 10.33 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/0.646, allocations: 495.8 kB / 1.567 GB, free: 9.84 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004597/0.6506, allocations: 5.011 MB / 1.572 GB, free: 4.805 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6507, allocations: 305.1 kB / 1.572 GB, free: 4.504 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6196/1.27, allocations: 38.6 MB / 1.61 GB, free: 273.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03374/1.304, allocations: 40.13 MB / 1.649 GB, free: 253.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03201/1.336, allocations: 47.47 MB / 1.696 GB, free: 207.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.983e-05/1.336, allocations: 4 kB / 1.696 GB, free: 207.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06573/1.402, allocations: 91.11 MB / 1.785 GB, free: 118.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/1.402, allocations: 177.6 kB / 1.785 GB, free: 118.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.926e-05/1.402, allocations: 23.19 kB / 1.785 GB, free: 118.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006789/1.403, allocations: 110.9 kB / 1.785 GB, free: 118.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/1.405, allocations: 0.6122 MB / 1.785 GB, free: 117.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/1.407, allocations: 1.531 MB / 1.787 GB, free: 115.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/1.41, allocations: 369.2 kB / 1.787 GB, free: 115.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/1.41, allocations: 156.7 kB / 1.787 GB, free: 115.6 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.002076/1.412, allocations: 2.49 MB / 1.79 GB, free: 113.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/1.413, allocations: 268.5 kB / 1.79 GB, free: 113 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/1.417, allocations: 3.005 MB / 1.793 GB, free: 110.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.417, allocations: 12 kB / 1.793 GB, free: 110 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.417, allocations: 3.938 kB / 1.793 GB, free: 110 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.417, allocations: 11.86 kB / 1.793 GB, free: 110 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/1.419, allocations: 1.556 MB / 1.795 GB, free: 108.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.419, allocations: 7.938 kB / 1.795 GB, free: 108.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009114/1.42, allocations: 203.8 kB / 1.795 GB, free: 108.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/1.42, allocations: 72.75 kB / 1.795 GB, free: 108.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/1.421, allocations: 47.06 kB / 1.795 GB, free: 108.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/1.422, allocations: 1.53 MB / 1.796 GB, free: 106.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.422, allocations: 0 / 1.796 GB, free: 106.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/1.426, allocations: 2.874 MB / 1.799 GB, free: 103.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.427, allocations: 488.7 kB / 1.8 GB, free: 103.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/1.427, allocations: 31.95 kB / 1.8 GB, free: 103.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.428, allocations: 99.41 kB / 1.8 GB, free: 103.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/1.429, allocations: 101.1 kB / 1.8 GB, free: 103.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.429, allocations: 67.95 kB / 1.8 GB, free: 103 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007294/1.436, allocations: 12.75 MB / 1.812 GB, free: 90.29 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.5e-07/1.436, allocations: 0 / 1.812 GB, free: 90.29 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004224/1.44, allocations: 1.81 MB / 1.814 GB, free: 88.57 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.003064/1.443, allocations: 1.055 MB / 1.815 GB, free: 87.82 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02719/1.47, allocations: 40.96 MB / 1.855 GB, free: 46.82 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.47, allocations: 0 / 1.855 GB, free: 46.82 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002064/1.472, allocations: 1.604 MB / 1.857 GB, free: 45.19 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.475, allocations: 481.1 kB / 1.857 GB, free: 44.74 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/1.493, allocations: 20.23 MB / 1.877 GB, free: 24.45 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003632/1.497, allocations: 4.166 MB / 1.881 GB, free: 20.26 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001688/1.498, allocations: 0.6439 MB / 1.882 GB, free: 19.61 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/1.499, allocations: 219.4 kB / 1.882 GB, free: 19.39 MB / 1.295 GB Notification: Performance of SimCode: time 8.72e-07/1.499, allocations: 0 / 1.882 GB, free: 19.39 MB / 1.295 GB Notification: Performance of Templates: time 0.1158/1.615, allocations: 68.59 MB / 1.949 GB, free: 15.15 MB / 1.357 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 -s gbode -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/jenkins1/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: 11.132552390990895]